diff options
Diffstat (limited to 'sd/source/ui/unoidl/unocpres.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unocpres.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx index 1ad8cc975d3c..49354ae6b097 100644 --- a/sd/source/ui/unoidl/unocpres.cxx +++ b/sd/source/ui/unoidl/unocpres.cxx @@ -95,7 +95,7 @@ void SAL_CALL SdXCustomPresentation::insertByIndex( sal_Int32 Index, const uno:: if(!xPage.is()) throw lang::IllegalArgumentException(); - SdDrawPage* pPage = SdDrawPage::getImplementation( xPage ); + SdDrawPage* pPage = comphelper::getUnoTunnelImplementation<SdDrawPage>( xPage ); if(pPage) { @@ -127,7 +127,7 @@ void SAL_CALL SdXCustomPresentation::removeByIndex( sal_Int32 Index ) if( xPage.is() ) { - SvxDrawPage* pPage = SvxDrawPage::getImplementation( xPage ); + SvxDrawPage* pPage = comphelper::getUnoTunnelImplementation<SvxDrawPage>( xPage ); if(pPage) { SdCustomShow::PageVec::iterator it = std::find( @@ -320,7 +320,7 @@ void SAL_CALL SdXCustomPresentationAccess::insertByName( const OUString& aName, uno::Reference< container::XIndexContainer > xContainer; if( (aElement >>= xContainer) && xContainer.is() ) - pXShow = SdXCustomPresentation::getImplementation(xContainer); + pXShow = comphelper::getUnoTunnelImplementation<SdXCustomPresentation>(xContainer); if( nullptr == pXShow ) throw lang::IllegalArgumentException(); |