[Libreoffice-commits] core.git: slideshow/source

Stephan Bergmann sbergman at redhat.com
Tue Nov 25 01:35:00 PST 2014


 slideshow/source/engine/shapes/gdimtftools.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 34d464316872fec13fc024d630cbfcc26b77185a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 25 10:34:30 2014 +0100

    -Werror,-Wuninitialized
    
    (in DummyRenderer ctor: base class 'comphelper::OBaseMutex' is
    uninitialized when used here to access 'comphelper::OBaseMutex::m_aMutex')
    
    Change-Id: I5b151176c676a58593933b3f2e33a3e2dfdcc630

diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx
index 4d2b046..f3a52ca 100644
--- a/slideshow/source/engine/shapes/gdimtftools.cxx
+++ b/slideshow/source/engine/shapes/gdimtftools.cxx
@@ -107,9 +107,7 @@ namespace {
 
 typedef ::cppu::WeakComponentImplHelper1< graphic::XGraphicRenderer > DummyRenderer_Base;
 
-class DummyRenderer :
-        public DummyRenderer_Base,
-        public cppu::BaseMutex
+class DummyRenderer: public cppu::BaseMutex, public DummyRenderer_Base
 {
 public:
     DummyRenderer() :


More information about the Libreoffice-commits mailing list