diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/factory.cxx | 4 | ||||
-rw-r--r-- | cppuhelper/source/servicemanager.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 3b5dafe92cdd..21ae1f398d4b 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -284,8 +284,8 @@ private: bool bOneInstance; protected: // needed for implementing XUnloadingPreference in inheriting classes - bool isOneInstance() {return bOneInstance;} - bool isInstance() {return xTheInstance.is();} + bool isOneInstance() const {return bOneInstance;} + bool isInstance() const {return xTheInstance.is();} }; diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx index e36cff41e984..2b1193e9a8d8 100644 --- a/cppuhelper/source/servicemanager.hxx +++ b/cppuhelper/source/servicemanager.hxx @@ -313,7 +313,7 @@ private: override; // needs to be called with rBHelper.rMutex locked: - bool isDisposed() { return rBHelper.bDisposed || rBHelper.bInDispose; } + bool isDisposed() const { return rBHelper.bDisposed || rBHelper.bInDispose; } void removeEventListenerFromComponent( css::uno::Reference< css::lang::XComponent > const & component); |