diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-30 11:44:23 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-30 12:54:40 +0000 |
commit | 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch) | |
tree | a1a95b8249052d846a997ad1729758168d6a3b24 /stoc/source/proxy_factory/proxyfac.cxx | |
parent | f8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff) |
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'stoc/source/proxy_factory/proxyfac.cxx')
-rw-r--r-- | stoc/source/proxy_factory/proxyfac.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx index cf211e017b85..34d060c95371 100644 --- a/stoc/source/proxy_factory/proxyfac.cxx +++ b/stoc/source/proxy_factory/proxyfac.cxx @@ -37,7 +37,6 @@ #include "com/sun/star/reflection/XProxyFactory.hpp" #include "com/sun/star/uno/RuntimeException.hpp" -#define OUSTR(x) ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(x) ) #define SERVICE_NAME "com.sun.star.reflection.ProxyFactory" #define IMPL_NAME "com.sun.star.comp.reflection.ProxyFactory" @@ -54,12 +53,12 @@ static rtl_StandardModuleCount g_moduleCount = MODULE_COUNT_INIT; static OUString proxyfac_getImplementationName() { - return OUSTR(IMPL_NAME); + return OUString(IMPL_NAME); } static Sequence< OUString > proxyfac_getSupportedServiceNames() { - OUString str_name = OUSTR(SERVICE_NAME); + OUString str_name = SERVICE_NAME; return Sequence< OUString >( &str_name, 1 ); } @@ -402,8 +401,8 @@ Any ProxyRoot::queryAggregation( Type const & rType ) //______________________________________________________________________________ FactoryImpl::FactoryImpl() { - OUString uno = OUSTR(UNO_LB_UNO); - OUString cpp = OUSTR(CPPU_CURRENT_LANGUAGE_BINDING_NAME); + OUString uno = UNO_LB_UNO; + OUString cpp = CPPU_CURRENT_LANGUAGE_BINDING_NAME; uno_getEnvironment( reinterpret_cast< uno_Environment ** >( &m_uno_env ), uno.pData, 0 ); |