summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-07 12:31:48 +0200
committerNoel Grandin <noel@peralex.com>2015-10-07 12:32:23 +0200
commitbb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 (patch)
treed1f281ec29326f373394b61fb5253a35d1fef25f /sc
parent5dbbb498b5e2ae8be9dcd10ddfc65de5266c0d15 (diff)
loplugin:mergeclasses
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/docuno.hxx4
-rw-r--r--sc/source/ui/unoobj/docuno.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 91358f6f5350..821ef95a7d3c 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -23,7 +23,6 @@
#include "address.hxx"
#include <sfx2/sfxbasemodel.hxx>
#include <svl/lstner.hxx>
-#include <svx/fmdmod.hxx>
#include <com/sun/star/view/XRenderable.hpp>
#include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
#include <com/sun/star/document/XActionLockable.hpp>
@@ -53,6 +52,7 @@
#include <svl/itemprop.hxx>
#include <vcl/event.hxx>
#include <vcl/ITiledRenderable.hxx>
+#include <svx/unomod.hxx>
#include "drwlayer.hxx"
class ScDocShell;
@@ -81,7 +81,7 @@ class SC_DLLPUBLIC ScModelObj : public SfxBaseModel,
public com::sun::star::view::XRenderable,
public com::sun::star::document::XLinkTargetSupplier,
public com::sun::star::beans::XPropertySet,
- public SvxFmMSFactory, ///< derived from XMultiServiceFactory
+ public SvxUnoDrawMSFactory, ///< derived from XMultiServiceFactory
public com::sun::star::lang::XServiceInfo,
public ::com::sun::star::util::XChangesNotifier,
public com::sun::star::sheet::opencl::XOpenCLSelection
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 );
}