summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-09 15:28:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 08:44:23 +0200
commitd913b7d2d8f5d8caf69b80274c58d7e27d207a0d (patch)
tree84184fcafcb017dcf983cddb3f1f81661f891977 /sd
parent3edfbb0885f8f9b18074d42e16539436077631ef (diff)
loplugin:unusedmethods
Change-Id: I6f976ba8f792d2cee34859e9258798351eed8b1d Reviewed-on: https://gerrit.libreoffice.org/52636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx13
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx1
2 files changed, 0 insertions, 14 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 2d59d64903eb..d87831dc5702 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -1679,17 +1679,4 @@ uno::Sequence< OUString > SAL_CALL SdUnoEventsAccess::getSupportedServiceNames(
return aStr;
}
-void SdXShape::modelChanged( SdrModel* pNewModel )
-{
- if( pNewModel )
- {
- uno::Reference< uno::XInterface > xModel( pNewModel->getUnoModel() );
- mpModel = SdXImpressDocument::getImplementation( xModel );
- }
- else
- {
- mpModel = nullptr;
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx
index 6db3862c30a6..0fa987313a0e 100644
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.hxx
@@ -72,7 +72,6 @@ public:
virtual bool queryAggregation( const css::uno::Type & rType, css::uno::Any& aAny ) override;
virtual void dispose() override;
- virtual void modelChanged( SdrModel* pNewModel ) override;
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override;