summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-10-24 12:27:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-24 12:56:22 +0200
commitc31d7b012f953f4a677fd5a576c0aa8379897879 (patch)
tree770bd3fb4a63005c03fcb95178abc316d52eeac3 /comphelper
parent084d665b61ac79ed4b81fffd05acce28b020d8b3 (diff)
Some warning cleanup (found with trunk Clang).
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/accessiblecontexthelper.hxx3
-rw-r--r--comphelper/source/misc/accessiblecontexthelper.cxx2
2 files changed, 4 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/accessiblecontexthelper.hxx b/comphelper/inc/comphelper/accessiblecontexthelper.hxx
index b80805d51776..3f02666508f7 100644
--- a/comphelper/inc/comphelper/accessiblecontexthelper.hxx
+++ b/comphelper/inc/comphelper/accessiblecontexthelper.hxx
@@ -52,9 +52,10 @@ namespace comphelper
/** abstract interface for implementing a mutex
*/
- class IMutex
+ class COMPHELPER_DLLPUBLIC IMutex
{
public:
+ virtual ~IMutex();
virtual void acquire() = 0;
virtual void release() = 0;
};
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx
index 4d2a7d9ebf9f..980fa3623250 100644
--- a/comphelper/source/misc/accessiblecontexthelper.cxx
+++ b/comphelper/source/misc/accessiblecontexthelper.cxx
@@ -44,6 +44,8 @@ namespace comphelper
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::accessibility;
+ IMutex::~IMutex() {}
+
//=====================================================================
//= OContextHelper_Impl
//=====================================================================