summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkerem <hallackerem@gmail.com>2016-02-02 15:21:41 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-03 08:26:13 +0000
commit36c3229a2e7765901dc3c21da3b223eca33266a4 (patch)
treede037a18f5b0a56b530ae4cd6524b845f9bb422a
parent2db74425208033f848ddb5bac7277d30d72afcad (diff)
tdf#88205 Delete 'css::uno::Sequence' in framework
Change-Id: I66857f640e2e4c397b4f9baf7903356a0510c0b7 Reviewed-on: https://gerrit.libreoffice.org/22035 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--framework/source/services/desktop.cxx3
-rw-r--r--framework/source/services/modulemanager.cxx3
-rw-r--r--framework/source/uielement/thesaurusmenucontroller.cxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 939d3ba4ddee..50bf49c36219 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -88,8 +88,7 @@ sal_Bool SAL_CALL Desktop::supportsService(OUString const & ServiceName)
css::uno::Sequence<OUString> SAL_CALL Desktop::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.Desktop" };
- return aSeq;
+ return { "com.sun.star.frame.Desktop" };
}
void Desktop::constructorInit()
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index e558ed068625..98e441e65363 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -170,8 +170,7 @@ sal_Bool ModuleManager::supportsService(OUString const & ServiceName)
css::uno::Sequence< OUString > ModuleManager::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence< OUString > s { "com.sun.star.frame.ModuleManager" };
- return s;
+ return { "com.sun.star.frame.ModuleManager" };
}
OUString SAL_CALL ModuleManager::identify(const css::uno::Reference< css::uno::XInterface >& xModule)
diff --git a/framework/source/uielement/thesaurusmenucontroller.cxx b/framework/source/uielement/thesaurusmenucontroller.cxx
index 41601e3ee7d1..bf46b799f297 100644
--- a/framework/source/uielement/thesaurusmenucontroller.cxx
+++ b/framework/source/uielement/thesaurusmenucontroller.cxx
@@ -159,8 +159,7 @@ OUString ThesaurusMenuController::getImplementationName()
css::uno::Sequence< OUString > ThesaurusMenuController::getSupportedServiceNames()
throw ( css::uno::RuntimeException, std::exception )
{
- css::uno::Sequence<OUString> aRet { "com.sun.star.frame.PopupMenuController" };
- return aRet;
+ return { "com.sun.star.frame.PopupMenuController" };
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL