diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2012-12-10 23:06:10 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-11 12:08:38 +0000 |
commit | 3e64874e7cd234ff563ac11450cfb2b6e2db4bf6 (patch) | |
tree | 5fd298e750ac28fabc3a7179d7af492c13113e01 /configmgr/source/update.cxx | |
parent | 90874ab3c75fd161a672a24538cbce909f284e97 (diff) |
rtl:: prefix removal from configmgr
- removed rtl:: prefix
- removed RTL_CONSTASCII_USTRINGPARAM
- corrected some misspells
Change-Id: I88bb0beec718a7fe38c61220aa61401419f23b42
Reviewed-on: https://gerrit.libreoffice.org/1291
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'configmgr/source/update.cxx')
-rw-r--r-- | configmgr/source/update.cxx | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/configmgr/source/update.cxx b/configmgr/source/update.cxx index 157a39830f07..36b04b4880dd 100644 --- a/configmgr/source/update.cxx +++ b/configmgr/source/update.cxx @@ -49,10 +49,10 @@ namespace configmgr { namespace update { namespace { -std::set< rtl::OUString > seqToSet( - css::uno::Sequence< rtl::OUString > const & sequence) +std::set< OUString > seqToSet( + css::uno::Sequence< OUString > const & sequence) { - return std::set< rtl::OUString >( + return std::set< OUString >( sequence.getConstArray(), sequence.getConstArray() + sequence.getLength()); } @@ -73,20 +73,20 @@ private: virtual ~Service() {} virtual void SAL_CALL insertExtensionXcsFile( - sal_Bool shared, rtl::OUString const & fileUri) + sal_Bool shared, OUString const & fileUri) throw (css::uno::RuntimeException); virtual void SAL_CALL insertExtensionXcuFile( - sal_Bool shared, rtl::OUString const & fileUri) + sal_Bool shared, OUString const & fileUri) throw (css::uno::RuntimeException); - virtual void SAL_CALL removeExtensionXcuFile(rtl::OUString const & fileUri) + virtual void SAL_CALL removeExtensionXcuFile(OUString const & fileUri) throw (css::uno::RuntimeException); virtual void SAL_CALL insertModificationXcuFile( - rtl::OUString const & fileUri, - css::uno::Sequence< rtl::OUString > const & includedPaths, - css::uno::Sequence< rtl::OUString > const & excludedPaths) + OUString const & fileUri, + css::uno::Sequence< OUString > const & includedPaths, + css::uno::Sequence< OUString > const & excludedPaths) throw (css::uno::RuntimeException); boost::shared_ptr<osl::Mutex> lock_; @@ -94,7 +94,7 @@ private: }; void Service::insertExtensionXcsFile( - sal_Bool shared, rtl::OUString const & fileUri) + sal_Bool shared, OUString const & fileUri) throw (css::uno::RuntimeException) { osl::MutexGuard g(*lock_); @@ -102,7 +102,7 @@ void Service::insertExtensionXcsFile( } void Service::insertExtensionXcuFile( - sal_Bool shared, rtl::OUString const & fileUri) + sal_Bool shared, OUString const & fileUri) throw (css::uno::RuntimeException) { Broadcaster bc; @@ -117,7 +117,7 @@ void Service::insertExtensionXcuFile( bc.send(); } -void Service::removeExtensionXcuFile(rtl::OUString const & fileUri) +void Service::removeExtensionXcuFile(OUString const & fileUri) throw (css::uno::RuntimeException) { Broadcaster bc; @@ -133,9 +133,9 @@ void Service::removeExtensionXcuFile(rtl::OUString const & fileUri) } void Service::insertModificationXcuFile( - rtl::OUString const & fileUri, - css::uno::Sequence< rtl::OUString > const & includedPaths, - css::uno::Sequence< rtl::OUString > const & excludedPaths) + OUString const & fileUri, + css::uno::Sequence< OUString > const & includedPaths, + css::uno::Sequence< OUString > const & excludedPaths) throw (css::uno::RuntimeException) { Broadcaster bc; @@ -159,16 +159,13 @@ css::uno::Reference< css::uno::XInterface > create( return static_cast< cppu::OWeakObject * >(new Service(context)); } -rtl::OUString getImplementationName() { - return rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.configuration.Update")); +OUString getImplementationName() { + return OUString("com.sun.star.comp.configuration.Update"); } -css::uno::Sequence< rtl::OUString > getSupportedServiceNames() { - rtl::OUString name( - RTL_CONSTASCII_USTRINGPARAM( - "com.sun.star.configuration.Update_Service")); - return css::uno::Sequence< rtl::OUString >(&name, 1); +css::uno::Sequence< OUString > getSupportedServiceNames() { + OUString name("com.sun.star.configuration.Update_Service"); + return css::uno::Sequence< OUString >(&name, 1); } } } |