diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-07 12:31:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-07 12:32:23 +0200 |
commit | bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 (patch) | |
tree | d1f281ec29326f373394b61fb5253a35d1fef25f /sc/source/ui/unoobj/docuno.cxx | |
parent | 5dbbb498b5e2ae8be9dcd10ddfc65de5266c0d15 (diff) |
loplugin:mergeclasses
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 0c7954ea1496..e920c4925825 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -2384,14 +2384,14 @@ css::uno::Reference<css::uno::XInterface> ScModelObj::create( } else { - // alles was ich nicht kenn, werf ich der SvxFmMSFactory an den Hals, + // alles was ich nicht kenn, werf ich der SvxUnoDrawMSFactory an den Hals, // da wird dann 'ne Exception geworfen, wenn's nicht passt... try { xRet = arguments == 0 - ? SvxFmMSFactory::createInstance(aServiceSpecifier) - : SvxFmMSFactory::createInstanceWithArguments( + ? SvxUnoDrawMSFactory::createInstance(aServiceSpecifier) + : SvxUnoDrawMSFactory::createInstanceWithArguments( aServiceSpecifier, *arguments); // extra block to force deletion of the temporary before ScShapeObj ctor (setDelegator) } @@ -2450,10 +2450,10 @@ uno::Sequence<OUString> SAL_CALL ScModelObj::getAvailableServiceNames() //! warum sind die Parameter bei concatServiceNames nicht const ??? //! return concatServiceNames( ScServiceProvider::GetAllServiceNames(), - //! SvxFmMSFactory::getAvailableServiceNames() ); + //! SvxUnoDrawMSFactory::getAvailableServiceNames() ); uno::Sequence<OUString> aMyServices(ScServiceProvider::GetAllServiceNames()); - uno::Sequence<OUString> aDrawServices(SvxFmMSFactory::getAvailableServiceNames()); + uno::Sequence<OUString> aDrawServices(SvxUnoDrawMSFactory::getAvailableServiceNames()); return concatServiceNames( aMyServices, aDrawServices ); } |