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 /sw/source | |
parent | 5dbbb498b5e2ae8be9dcd10ddfc65de5266c0d15 (diff) |
loplugin:mergeclasses
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 95227e841e18..c2d1fe64f42f 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -1709,8 +1709,8 @@ css::uno::Reference<css::uno::XInterface> SwXTextDocument::create( } Reference<XInterface> xTmp( arguments == 0 - ? SvxFmMSFactory::createInstance(aTmpServiceName) - : SvxFmMSFactory::createInstanceWithArguments( + ? SvxUnoDrawMSFactory::createInstance(aTmpServiceName) + : SvxUnoDrawMSFactory::createInstanceWithArguments( aTmpServiceName, *arguments)); if (rServiceName == "com.sun.star.drawing.GroupShape" || rServiceName == "com.sun.star.drawing.Shape3DSceneObject") @@ -1744,7 +1744,7 @@ Sequence< OUString > SwXTextDocument::getAvailableServiceNames() static Sequence< OUString > aServices; if ( aServices.getLength() == 0 ) { - Sequence< OUString > aRet = SvxFmMSFactory::getAvailableServiceNames(); + Sequence< OUString > aRet = SvxUnoDrawMSFactory::getAvailableServiceNames(); OUString* pRet = aRet.getArray(); for ( sal_Int32 i = 0; i < aRet.getLength(); ++i ) { @@ -1756,7 +1756,7 @@ Sequence< OUString > SwXTextDocument::getAvailableServiceNames() } } Sequence< OUString > aOwn = SwXServiceProvider::GetAllServiceNames(); - aServices = SvxFmMSFactory::concatServiceNames(aRet, aOwn); + aServices = SvxUnoDrawMSFactory::concatServiceNames(aRet, aOwn); } return aServices; |