summaryrefslogtreecommitdiff
path: root/framework/source/classes
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-03 22:43:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-04 11:31:03 +0200
commit8331ecac51c5b090cb3cce7d20da5ba403a74b01 (patch)
tree05befa8896b312eba4baa96cb1b4e1219d6c34d7 /framework/source/classes
parente848e95faa5cea1f258c9f97d99ffc91614e5a3b (diff)
Upcoming loplugin:elidestringvar: framework
Change-Id: I5a786316e9fa6dab0166c435c6a1ac9e5d8014a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95466 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework/source/classes')
-rw-r--r--framework/source/classes/taskcreator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/classes/taskcreator.cxx b/framework/source/classes/taskcreator.cxx
index 65755aa8d674..aae5849b89a8 100644
--- a/framework/source/classes/taskcreator.cxx
+++ b/framework/source/classes/taskcreator.cxx
@@ -56,11 +56,10 @@ TaskCreator::~TaskCreator()
css::uno::Reference< css::frame::XFrame > TaskCreator::createTask( const OUString& sName, const utl::MediaDescriptor& rDescriptor )
{
css::uno::Reference< css::lang::XSingleServiceFactory > xCreator;
- OUString sCreator = IMPLEMENTATIONNAME_FWK_TASKCREATOR;
try
{
- xCreator.set( m_xContext->getServiceManager()->createInstanceWithContext(sCreator, m_xContext), css::uno::UNO_QUERY_THROW);
+ xCreator.set( m_xContext->getServiceManager()->createInstanceWithContext(IMPLEMENTATIONNAME_FWK_TASKCREATOR, m_xContext), css::uno::UNO_QUERY_THROW);
}
catch(const css::uno::Exception&)
{}