summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-25 08:27:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-25 08:27:10 +0100
commit1f94761288ad5bb1319bb32f845586bbc8c6d1b9 (patch)
treeb482b3feefca4fc687c9e50b6c2d2529ed127be2
parent7ca3303aaadd20dcc1d6e08bdeba38021cbec4bb (diff)
-Werror,-Wuninitialized
(in CachedPrimitiveBase ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: I30855a80ad9dbc3fa90e45d51d2a02794033f2f1
-rw-r--r--include/canvas/base/cachedprimitivebase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/canvas/base/cachedprimitivebase.hxx b/include/canvas/base/cachedprimitivebase.hxx
index 99b9b9108dc0..14b427385277 100644
--- a/include/canvas/base/cachedprimitivebase.hxx
+++ b/include/canvas/base/cachedprimitivebase.hxx
@@ -40,8 +40,8 @@ namespace canvas
/** Base class, providing common functionality for implementers of
the XCachedPrimitive interface.
*/
- class CANVASTOOLS_DLLPUBLIC CachedPrimitiveBase : public CachedPrimitiveBase_Base,
- public ::comphelper::OBaseMutex
+ class CANVASTOOLS_DLLPUBLIC CachedPrimitiveBase:
+ public comphelper::OBaseMutex, public CachedPrimitiveBase_Base
{
public: