summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-07-09 01:51:19 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-07-15 13:06:38 +0200
commitf926de93c455f7cede505ad8cf849fe81eb514cf (patch)
treee30e5835ad3b45703ce4050b895f7d4409f7a32a /sc
parent6eed518408a93ad5a9896623d83405c4834b100c (diff)
tdf#39593 Remove SvxUnoDrawMSFactory::concatServiceNames
Replace with comphelper::concatSequences Change-Id: I6b16104fac6ac5fdfcb6f322da4a5b8405d5d999 Reviewed-on: https://gerrit.libreoffice.org/75315 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index e6c7495203c4..c16b992cd03b 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -2838,14 +2838,8 @@ uno::Sequence<OUString> SAL_CALL ScModelObj::getAvailableServiceNames()
{
SolarMutexGuard aGuard;
- //! why are the parameters of concatServiceNames not const ???
- //! return concatServiceNames( ScServiceProvider::GetAllServiceNames(),
- //! SvxFmMSFactory::getAvailableServiceNames() );
-
- uno::Sequence<OUString> aMyServices(ScServiceProvider::GetAllServiceNames());
- uno::Sequence<OUString> aDrawServices(SvxFmMSFactory::getAvailableServiceNames());
-
- return concatServiceNames( aMyServices, aDrawServices );
+ return comphelper::concatSequences( ScServiceProvider::GetAllServiceNames(),
+ SvxFmMSFactory::getAvailableServiceNames() );
}
// XServiceInfo