diff options
author | Ricardo Montania <ricardo@linuxafundo.com.br> | 2012-11-03 18:24:25 -0200 |
---|---|---|
committer | Radek Doulík <rodo@novell.com> | 2012-11-07 12:06:45 +0000 |
commit | da67a17d2dc3000b1d72ef9a02a48f509a009b45 (patch) | |
tree | ca7668ada5722b4494a7dedfe26e4dc6c7c1b33e /bridges/inc | |
parent | f0e797a351babf2282bac801c33a485671accf1b (diff) |
::rtl::OUString -> OUString in bridges
Change-Id: I3a4fa7b108c58f100d2c8a586ec6c76af902e138
Reviewed-on: https://gerrit.libreoffice.org/974
Reviewed-by: Radek Doulík <rodo@novell.com>
Tested-by: Radek Doulík <rodo@novell.com>
Diffstat (limited to 'bridges/inc')
4 files changed, 19 insertions, 19 deletions
diff --git a/bridges/inc/bridges/cpp_uno/bridge.hxx b/bridges/inc/bridges/cpp_uno/bridge.hxx index 96af924e734a..7e6350cd7ac4 100644 --- a/bridges/inc/bridges/cpp_uno/bridge.hxx +++ b/bridges/inc/bridges/cpp_uno/bridge.hxx @@ -126,7 +126,7 @@ inline void cppu_cppInterfaceProxy::releaseProxy() SAL_THROW(()) //__________________________________________________________________________________________________ inline cppu_cppInterfaceProxy::cppu_cppInterfaceProxy( cppu_Bridge * pBridge_, uno_Interface * pUnoI_, - typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW(()) + typelib_InterfaceTypeDescription * pTypeDescr_, const OUString & rOId_ ) SAL_THROW(()) : nRef( 1 ) , pBridge( pBridge_ ) , pUnoI( pUnoI_ ) @@ -243,7 +243,7 @@ inline void SAL_CALL cppu_Mapping_cpp2uno( //__________________________________________________________________________________________________ inline cppu_unoInterfaceProxy::cppu_unoInterfaceProxy( cppu_Bridge * pBridge_, ::com::sun::star::uno::XInterface * pCppI_, - typelib_InterfaceTypeDescription * pTypeDescr_, const ::rtl::OUString & rOId_ ) SAL_THROW(()) + typelib_InterfaceTypeDescription * pTypeDescr_, const OUString & rOId_ ) SAL_THROW(()) : nRef( 1 ) , pBridge( pBridge_ ) , pCppI( pCppI_ ) @@ -392,22 +392,22 @@ inline void SAL_CALL cppu_ext_getMapping( //################################################################################################## #if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) -static ::rtl::OUString * s_pStaticOidPart = 0; +static OUString * s_pStaticOidPart = 0; #endif // environment init stuff //-------------------------------------------------------------------------------------------------- -inline const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW(()) +inline const OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW(()) { #if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) - static ::rtl::OUString * s_pStaticOidPart = 0; + static OUString * s_pStaticOidPart = 0; #endif if (! s_pStaticOidPart) { ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); if (! s_pStaticOidPart) { - ::rtl::OUStringBuffer aRet( 64 ); + OUStringBuffer aRet( 64 ); aRet.appendAscii( RTL_CONSTASCII_STRINGPARAM("];") ); // good guid sal_uInt8 ar[16]; @@ -417,9 +417,9 @@ inline const ::rtl::OUString & SAL_CALL cppu_cppenv_getStaticOIdPart() SAL_THROW aRet.append( (sal_Int32)ar[i], 16 ); } #if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) - s_pStaticOidPart = new ::rtl::OUString( aRet.makeStringAndClear() ); + s_pStaticOidPart = new OUString( aRet.makeStringAndClear() ); #else - static ::rtl::OUString s_aStaticOidPart( aRet.makeStringAndClear() ); + static OUString s_aStaticOidPart( aRet.makeStringAndClear() ); s_pStaticOidPart = &s_aStaticOidPart; #endif } @@ -449,18 +449,18 @@ inline void SAL_CALL cppu_cppenv_computeObjectIdentifier( if (xHome.is()) { // interface - ::rtl::OUStringBuffer oid( 64 ); + OUStringBuffer oid( 64 ); oid.append( (sal_Int64)xHome.get(), 16 ); oid.append( (sal_Unicode)';' ); // ;environment[context] oid.append( - *reinterpret_cast< ::rtl::OUString const * >( + *reinterpret_cast< OUString const * >( &((uno_Environment *) pEnv)->pTypeName ) ); oid.append( (sal_Unicode)'[' ); oid.append( (sal_Int64)((uno_Environment *)pEnv)->pContext, 16 ); // ];good guid oid.append( cppu_cppenv_getStaticOIdPart() ); - ::rtl::OUString aRet( oid.makeStringAndClear() ); + OUString aRet( oid.makeStringAndClear() ); ::rtl_uString_acquire( *ppOId = aRet.pData ); } } diff --git a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx index 579af7e6dece..f363444f19c8 100644 --- a/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx +++ b/bridges/inc/bridges/cpp_uno/shared/cppinterfaceproxy.hxx @@ -50,14 +50,14 @@ public: static com::sun::star::uno::XInterface * create( Bridge * pBridge, uno_Interface * pUnoI, typelib_InterfaceTypeDescription * pTypeDescr, - rtl::OUString const & rOId) SAL_THROW(()); + OUString const & rOId) SAL_THROW(()); // Interface for individual CPP--UNO bridges: Bridge * getBridge() { return pBridge; } uno_Interface * getUnoI() { return pUnoI; } typelib_InterfaceTypeDescription * getTypeDescr() { return pTypeDescr; } - rtl::OUString getOid() { return oid; } + OUString getOid() { return oid; } // non virtual methods called on incoming vtable calls #1, #2 void acquireProxy() SAL_THROW(()); @@ -72,7 +72,7 @@ private: CppInterfaceProxy( Bridge * pBridge_, uno_Interface * pUnoI_, typelib_InterfaceTypeDescription * pTypeDescr_, - rtl::OUString const & rOId_) SAL_THROW(()); + OUString const & rOId_) SAL_THROW(()); ~CppInterfaceProxy(); @@ -85,7 +85,7 @@ private: // mapping information uno_Interface * pUnoI; // wrapped interface typelib_InterfaceTypeDescription * pTypeDescr; - rtl::OUString oid; + OUString oid; VtableFactory::Slot * vtables[1]; diff --git a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx index 61d35eb79156..7e2846ac6e71 100644 --- a/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx +++ b/bridges/inc/bridges/cpp_uno/shared/unointerfaceproxy.hxx @@ -65,7 +65,7 @@ public: static UnoInterfaceProxy * create( Bridge * pBridge, com::sun::star::uno::XInterface * pCppI, typelib_InterfaceTypeDescription * pTypeDescr, - rtl::OUString const & rOId) SAL_THROW(()); + OUString const & rOId) SAL_THROW(()); // Interface for individual CPP--UNO bridges: @@ -79,7 +79,7 @@ private: UnoInterfaceProxy( Bridge * pBridge_, com::sun::star::uno::XInterface * pCppI_, typelib_InterfaceTypeDescription * pTypeDescr_, - rtl::OUString const & rOId_) SAL_THROW(()); + OUString const & rOId_) SAL_THROW(()); ~UnoInterfaceProxy(); @@ -89,7 +89,7 @@ private: // mapping information com::sun::star::uno::XInterface * pCppI; // wrapped interface typelib_InterfaceTypeDescription * pTypeDescr; - rtl::OUString oid; + OUString oid; friend void SAL_CALL freeUnoInterfaceProxy( uno_ExtEnvironment * pEnv, void * pProxy); diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx index cc6ef427ea7f..6316f9aea8f4 100644 --- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx +++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx @@ -204,7 +204,7 @@ private: static void flushCode( unsigned char const * begin, unsigned char const * end); - typedef boost::unordered_map< rtl::OUString, Vtables, rtl::OUStringHash > Map; + typedef boost::unordered_map< OUString, Vtables, OUStringHash > Map; osl::Mutex m_mutex; Map m_map; |