summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-25 08:27:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-19 11:42:12 +0100
commitd2952c7ad52b3ca7425beec7516ee8130ea683d5 (patch)
treeac31545e3d075498c09d56093b7d65fbbaf31315
parent4a36ccc76dcfe2ab8d893aab110a399b96204717 (diff)
-Werror,-Wuninitialized
(in CachedPrimitiveBase ctor: base class 'comphelper::OBaseMutex' is uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex') Change-Id: I30855a80ad9dbc3fa90e45d51d2a02794033f2f1 (cherry picked from commit 1f94761288ad5bb1319bb32f845586bbc8c6d1b9)
-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: