From 7d426e6fd681c6f0fb45a69f3ac7076817495135 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 5 May 2015 10:33:52 +0200 Subject: loplugin:staticmethods Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132 --- unotools/source/config/eventcfg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unotools/source') diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index 313542ca1ef6..49cf4f960d10 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -102,7 +102,7 @@ public: ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames( ) throw (::com::sun::star::uno::RuntimeException); bool SAL_CALL hasByName( const OUString& aName ) throw (::com::sun::star::uno::RuntimeException); - ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException); + static ::com::sun::star::uno::Type SAL_CALL getElementType( ) throw (::com::sun::star::uno::RuntimeException); bool SAL_CALL hasElements( ) throw (::com::sun::star::uno::RuntimeException); OUString GetEventName( GlobalEventId nID ); }; @@ -367,7 +367,7 @@ sal_Bool SAL_CALL GlobalEventConfig::hasByName( const OUString& aName ) throw (R Type SAL_CALL GlobalEventConfig::getElementType( ) throw (RuntimeException, std::exception) { MutexGuard aGuard( GetOwnStaticMutex() ); - return m_pImpl->getElementType( ); + return GlobalEventConfig_Impl::getElementType( ); } sal_Bool SAL_CALL GlobalEventConfig::hasElements( ) throw (RuntimeException, std::exception) { -- cgit