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

Stephan Bergmann sbergman at redhat.com
Mon Nov 24 23:59:18 PST 2014


 svx/source/table/tablemodel.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f0332a4a77880a04697b93cec8f1c2b913f60d1a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 25 08:58:32 2014 +0100

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

diff --git a/svx/source/table/tablemodel.hxx b/svx/source/table/tablemodel.hxx
index df13cd1..8ad480e 100644
--- a/svx/source/table/tablemodel.hxx
+++ b/svx/source/table/tablemodel.hxx
@@ -52,8 +52,8 @@ protected:
 
 typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::table::XTable, ::com::sun::star::util::XBroadcaster > TableModelBase;
 
-class TableModel : public TableModelBase,
-                   public ::comphelper::OBaseMutex,
+class TableModel : public ::comphelper::OBaseMutex,
+                   public TableModelBase,
                    public ICellRange
 {
     friend class InsertRowUndo;


More information about the Libreoffice-commits mailing list