| atktable.cxx (9f62ea84) | atktable.cxx (24c56ab9) |
|---|---|
| 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 44 unchanged lines hidden (view full) --- 53static G_CONST_RETURN gchar * 54getAsConst( rtl::OUString rString ) 55{ 56 static const int nMax = 10; 57 static rtl::OString aUgly[nMax]; 58 static int nIdx = 0; 59 nIdx = (nIdx + 1) % nMax; 60 aUgly[nIdx] = rtl::OUStringToOString( rString, RTL_TEXTENCODING_UTF8 ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 44 unchanged lines hidden (view full) --- 53static G_CONST_RETURN gchar * 54getAsConst( rtl::OUString rString ) 55{ 56 static const int nMax = 10; 57 static rtl::OString aUgly[nMax]; 58 static int nIdx = 0; 59 nIdx = (nIdx + 1) % nMax; 60 aUgly[nIdx] = rtl::OUStringToOString( rString, RTL_TEXTENCODING_UTF8 ); |
| 61 return aUgly[ nIdx ]; | 61 return aUgly[ nIdx ].getStr(); |
| 62} 63 64/*****************************************************************************/ 65 66static accessibility::XAccessibleTable* 67 getTable( AtkTable *pTable ) throw (uno::RuntimeException) 68{ 69 AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pTable ); --- 648 unchanged lines hidden --- | 62} 63 64/*****************************************************************************/ 65 66static accessibility::XAccessibleTable* 67 getTable( AtkTable *pTable ) throw (uno::RuntimeException) 68{ 69 AtkObjectWrapper *pWrap = ATK_OBJECT_WRAPPER( pTable ); --- 648 unchanged lines hidden --- |