diff options
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/awt/vclxtabpagecontainer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/tree/treedatamodel.cxx | 8 |
3 files changed, 4 insertions, 10 deletions
diff --git a/toolkit/source/awt/vclxtabpagecontainer.cxx b/toolkit/source/awt/vclxtabpagecontainer.cxx index c053aaead062..2e862e3b6a18 100644 --- a/toolkit/source/awt/vclxtabpagecontainer.cxx +++ b/toolkit/source/awt/vclxtabpagecontainer.cxx @@ -39,7 +39,7 @@ using namespace ::com::sun::star::view; // class VCLXTabPageContainer -void VCLXTabPageContainer::ImplGetPropertyIds( std::vector< sal_uInt16 > &rIds ) +void VCLXTabPageContainer::GetPropertyIds( std::vector< sal_uInt16 > &rIds ) { VCLXWindow::ImplGetPropertyIds( rIds ); } diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index bc3c93f45db0..a4b87e7f7783 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2154,7 +2154,7 @@ void SAL_CALL VCLXListBox::disposing( const EventObject& i_rEvent ) throw (Runti // class VCLXMessageBox -void VCLXMessageBox::ImplGetPropertyIds( std::vector< sal_uInt16 > &rIds ) +void VCLXMessageBox::GetPropertyIds( std::vector< sal_uInt16 > &rIds ) { VCLXTopWindow::ImplGetPropertyIds( rIds ); } @@ -2235,7 +2235,7 @@ css::awt::Size SAL_CALL VCLXMessageBox::getMinimumSize() throw(css::uno::Runtime // class VCLXDialog -void VCLXDialog::ImplGetPropertyIds( std::vector< sal_uInt16 > &rIds ) +void VCLXDialog::GetPropertyIds( std::vector< sal_uInt16 > &rIds ) { VCLXTopWindow::ImplGetPropertyIds( rIds ); } diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx index fb415b5267ef..d58b6e13361b 100644 --- a/toolkit/source/controls/tree/treedatamodel.cxx +++ b/toolkit/source/controls/tree/treedatamodel.cxx @@ -117,7 +117,6 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) override; virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException, std::exception) override; - static MutableTreeNode* getImplementation( const Reference< XTreeNode >& xNode ); static Reference< XTreeNode > getReference( MutableTreeNode* pNode ) { return Reference< XTreeNode >( pNode ); @@ -278,11 +277,6 @@ void MutableTreeNode::setParent( MutableTreeNode* pParent ) mpParent = pParent; } -MutableTreeNode* MutableTreeNode::getImplementation( const Reference< XTreeNode >& xNode ) -{ - return dynamic_cast< MutableTreeNode* >( xNode.get() ); -} - void MutableTreeNode::broadcast_changes() { if( mxModel.is() ) @@ -469,7 +463,7 @@ sal_Int32 SAL_CALL MutableTreeNode::getIndex( const Reference< XTreeNode >& xNod { ::osl::Guard< ::osl::Mutex > aGuard( maMutex ); - MutableTreeNodeRef xImpl( MutableTreeNode::getImplementation( xNode ) ); + MutableTreeNodeRef xImpl( dynamic_cast< MutableTreeNode* >( xNode.get() ) ); if( xImpl.is() ) { sal_Int32 nChildCount = maChildren.size(); |