summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-05 10:33:52 +0200
committerNoel Grandin <noel@peralex.com>2015-05-05 14:05:20 +0200
commit7d426e6fd681c6f0fb45a69f3ac7076817495135 (patch)
tree6af4c99b75b145f990e1dda4e4c3503ccfce80c6 /unotools
parentaa06ce15fdd68983001ef33d1931fbaf6b515282 (diff)
loplugin:staticmethods
Change-Id: I97160fc51dc16ff92b06d44570298eeec637e132
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/eventcfg.cxx4
1 files changed, 2 insertions, 2 deletions
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)
{