diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-12 21:01:14 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-03-12 21:02:26 +0100 |
commit | ca6d048e81cd079e66f73db93c4758b4df53cc21 (patch) | |
tree | bc70b48fc240f8aec2ee0616f11b6b52914aadd6 /ucbhelper/source/provider/registerucb.cxx | |
parent | 4b2890453b2a9a99da3d690e6e70bffd711b6810 (diff) |
Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelper
Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
Diffstat (limited to 'ucbhelper/source/provider/registerucb.cxx')
-rw-r--r-- | ucbhelper/source/provider/registerucb.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx index 8b2e5e0f926c..bc7990d4a6d1 100644 --- a/ucbhelper/source/provider/registerucb.cxx +++ b/ucbhelper/source/provider/registerucb.cxx @@ -52,9 +52,7 @@ registerAtUcb( OSL_ENSURE(rServiceFactory.is(), "ucb::registerAtUcb(): No service factory"); - bool bNoProxy - = rArguments.compareToAscii(RTL_CONSTASCII_STRINGPARAM("{noproxy}")) - == 0; + bool bNoProxy = rArguments.compareTo("{noproxy}") == 0; rtl::OUString aProviderArguments(bNoProxy ? rArguments. @@ -70,7 +68,7 @@ registerAtUcb( { uno::Reference< beans::XPropertySet > xFactoryProperties( rServiceFactory, uno::UNO_QUERY_THROW ); uno::Reference< uno::XComponentContext > xContext = uno::Reference< uno::XComponentContext >( - xFactoryProperties->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ) ) ), + xFactoryProperties->getPropertyValue( ::rtl::OUString( "DefaultContext" ) ), uno::UNO_QUERY ); xProxyFactory = uno::Reference< ucb::XContentProviderFactory >( |