diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-12-14 16:05:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-12-14 17:34:17 +0100 |
commit | f0851f982230d3fa19e0647ea18214b2c7b9fb90 (patch) | |
tree | 99087ffd85a6a498e8604f81f7a152a5803e4970 /desktop/test/deployment | |
parent | ff1016c087377cb4f10613923f65466b74f39643 (diff) |
Fix Extension_test-{active,passive}
...by reverting part of 6f50961e69406a17d6ec998956a6b33208b1001b "remove more
rtl::OUString and OString prefixes"
Change-Id: I50d37f437bb6f760c0d3990faaf71084913520f0
Reviewed-on: https://gerrit.libreoffice.org/65169
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop/test/deployment')
-rw-r--r-- | desktop/test/deployment/active/active_native.cxx | 40 | ||||
-rw-r--r-- | desktop/test/deployment/passive/passive_native.cxx | 40 |
2 files changed, 40 insertions, 40 deletions
diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx index c72ad4b91508..0f12544b6a6b 100644 --- a/desktop/test/deployment/active/active_native.cxx +++ b/desktop/test/deployment/active/active_native.cxx @@ -69,9 +69,9 @@ public: css::uno::Reference< css::uno::XComponentContext > const & xContext) { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); } - static OUString SAL_CALL static_getImplementationName(); + static rtl::OUString SAL_CALL static_getImplementationName(); - static css::uno::Sequence< OUString > SAL_CALL + static css::uno::Sequence< rtl::OUString > SAL_CALL static_getSupportedServiceNames(); private: @@ -81,18 +81,18 @@ private: virtual ~Provider() {} - virtual OUString SAL_CALL getImplementationName() override + virtual rtl::OUString SAL_CALL getImplementationName() override { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } - virtual css::uno::Sequence< OUString > SAL_CALL + virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() override { return static_getSupportedServiceNames(); } virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( - css::util::URL const &, OUString const &, sal_Int32) override; + css::util::URL const &, rtl::OUString const &, sal_Int32) override; virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( @@ -101,18 +101,18 @@ private: css::uno::Reference< css::uno::XComponentContext > context_; }; -OUString Provider::static_getImplementationName() { - return OUString("com.sun.star.comp.test.deployment.active_native"); +rtl::OUString Provider::static_getImplementationName() { + return rtl::OUString("com.sun.star.comp.test.deployment.active_native"); } -css::uno::Sequence< OUString > Provider::static_getSupportedServiceNames() +css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames() { - OUString name("com.sun.star.test.deployment.active_native"); - return css::uno::Sequence< OUString >(&name, 1); + rtl::OUString name("com.sun.star.test.deployment.active_native"); + return css::uno::Sequence< rtl::OUString >(&name, 1); } css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch( - css::util::URL const &, OUString const &, sal_Int32) + css::util::URL const &, rtl::OUString const &, sal_Int32) { css::uno::Reference< css::frame::XDispatch > dispatch; if (!(context_->getValueByName( @@ -156,11 +156,11 @@ public: css::uno::Reference< css::uno::XComponentContext > const & xContext) { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); } - static OUString SAL_CALL static_getImplementationName(); + static rtl::OUString SAL_CALL static_getImplementationName(); - static css::uno::Sequence< OUString > SAL_CALL + static css::uno::Sequence< rtl::OUString > SAL_CALL static_getSupportedServiceNames() - { return css::uno::Sequence< OUString >(); } + { return css::uno::Sequence< rtl::OUString >(); } private: explicit Dispatch( @@ -169,13 +169,13 @@ private: virtual ~Dispatch() {} - virtual OUString SAL_CALL getImplementationName() override + virtual rtl::OUString SAL_CALL getImplementationName() override { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } - virtual css::uno::Sequence< OUString > SAL_CALL + virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() override { return static_getSupportedServiceNames(); } @@ -196,8 +196,8 @@ private: css::uno::Reference< css::uno::XComponentContext > context_; }; -OUString Dispatch::static_getImplementationName() { - return OUString( +rtl::OUString Dispatch::static_getImplementationName() { + return rtl::OUString( "com.sun.star.comp.test.deployment.active_native_singleton"); } diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx index ea62f7b0112f..83b955a00313 100644 --- a/desktop/test/deployment/passive/passive_native.cxx +++ b/desktop/test/deployment/passive/passive_native.cxx @@ -66,9 +66,9 @@ public: css::uno::Reference< css::uno::XComponentContext > const & xContext) { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); } - static OUString SAL_CALL static_getImplementationName(); + static rtl::OUString SAL_CALL static_getImplementationName(); - static css::uno::Sequence< OUString > SAL_CALL + static css::uno::Sequence< rtl::OUString > SAL_CALL static_getSupportedServiceNames(); private: @@ -78,18 +78,18 @@ private: virtual ~Provider() {} - virtual OUString SAL_CALL getImplementationName() override + virtual rtl::OUString SAL_CALL getImplementationName() override { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } - virtual css::uno::Sequence< OUString > SAL_CALL + virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() override { return static_getSupportedServiceNames(); } virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( - css::util::URL const &, OUString const &, sal_Int32) override; + css::util::URL const &, rtl::OUString const &, sal_Int32) override; virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( @@ -98,18 +98,18 @@ private: css::uno::Reference< css::uno::XComponentContext > context_; }; -OUString Provider::static_getImplementationName() { - return OUString("com.sun.star.comp.test.deployment.passive_native"); +rtl::OUString Provider::static_getImplementationName() { + return rtl::OUString("com.sun.star.comp.test.deployment.passive_native"); } -css::uno::Sequence< OUString > Provider::static_getSupportedServiceNames() +css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames() { - OUString name("com.sun.star.test.deployment.passive_native"); - return css::uno::Sequence< OUString >(&name, 1); + rtl::OUString name("com.sun.star.test.deployment.passive_native"); + return css::uno::Sequence< rtl::OUString >(&name, 1); } css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch( - css::util::URL const &, OUString const &, sal_Int32) + css::util::URL const &, rtl::OUString const &, sal_Int32) { css::uno::Reference< css::frame::XDispatch > dispatch; if (!(context_->getValueByName( @@ -153,11 +153,11 @@ public: css::uno::Reference< css::uno::XComponentContext > const & xContext) { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); } - static OUString SAL_CALL static_getImplementationName(); + static rtl::OUString SAL_CALL static_getImplementationName(); - static css::uno::Sequence< OUString > SAL_CALL + static css::uno::Sequence< rtl::OUString > SAL_CALL static_getSupportedServiceNames() - { return css::uno::Sequence< OUString >(); } + { return css::uno::Sequence< rtl::OUString >(); } private: explicit Dispatch( @@ -166,13 +166,13 @@ private: virtual ~Dispatch() {} - virtual OUString SAL_CALL getImplementationName() override + virtual rtl::OUString SAL_CALL getImplementationName() override { return static_getImplementationName(); } - virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override + virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) override { return cppu::supportsService(this, ServiceName); } - virtual css::uno::Sequence< OUString > SAL_CALL + virtual css::uno::Sequence< rtl::OUString > SAL_CALL getSupportedServiceNames() override { return static_getSupportedServiceNames(); } @@ -193,8 +193,8 @@ private: css::uno::Reference< css::uno::XComponentContext > context_; }; -OUString Dispatch::static_getImplementationName() { - return OUString( +rtl::OUString Dispatch::static_getImplementationName() { + return rtl::OUString( "com.sun.star.comp.test.deployment.passive_native_singleton"); } |