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 | |
parent | Removed RTL_CONSTASCII_STRINGPARAM in unodevtools (diff) | |
download | core-ca6d048e81cd079e66f73db93c4758b4df53cc21.tar.gz core-ca6d048e81cd079e66f73db93c4758b4df53cc21.zip |
Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelper
Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/fileidentifierconverter.cxx | 2 | ||||
-rw-r--r-- | ucbhelper/source/provider/registerucb.cxx | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/ucbhelper/source/client/fileidentifierconverter.cxx b/ucbhelper/source/client/fileidentifierconverter.cxx index 4e0e28850b03..1f53b4a1035c 100644 --- a/ucbhelper/source/client/fileidentifierconverter.cxx +++ b/ucbhelper/source/client/fileidentifierconverter.cxx @@ -44,7 +44,7 @@ getLocalFileURL() SAL_THROW((uno::RuntimeException)) // "vnd.sun.star.wfs:///"), this code should query all relevant UCPs for // their com.sun.star.ucb.XFileIdentifierConverter.getFileProviderLocality // and return the most local one: - return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///")); + return rtl::OUString("file:///"); } //============================================================================ 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 >( |