diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 13 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 1 |
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; |