[Libreoffice-commits] core.git: 2 commits - cui/source dbaccess/source

Caolán McNamara caolanm at redhat.com
Tue Jan 28 09:06:46 PST 2014


 cui/source/tabpages/backgrnd.cxx             |    7 +++++--
 dbaccess/source/ui/tabledesign/TableUndo.hxx |    1 -
 2 files changed, 5 insertions(+), 3 deletions(-)

New commits:
commit d7a10b9c999fe3df7095f1f1ccc2acc185077927
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 28 17:05:42 2014 +0000

    coverity#707723 Uninitialized scalar field
    
    Change-Id: I137d29a05efaa4b709a362a02ca0c78bd7a3e048

diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 526d1e5..c8abe63 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -89,8 +89,11 @@ struct SvxBackgroundPara_Impl
 
     sal_uInt16          nActPos;
 
-    SvxBackgroundPara_Impl() :
-        pParaBrush(NULL), pCharBrush(NULL) {}
+    SvxBackgroundPara_Impl()
+        : pParaBrush(NULL)
+        , pCharBrush(NULL)
+        , nActPos(LISTBOX_ENTRY_NOTFOUND)
+    {}
 };
 
 struct SvxBackgroundPage_Impl
commit be3df1df76384820f7bfbf9c921e3e7fec536dae
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 28 17:01:29 2014 +0000

    coverity#707747 Uninitialized scalar field
    
    Change-Id: I6bc4dbdd46a945d77b85ef8ec9c6333784cd0039

diff --git a/dbaccess/source/ui/tabledesign/TableUndo.hxx b/dbaccess/source/ui/tabledesign/TableUndo.hxx
index 29f4984..5b87bd5 100644
--- a/dbaccess/source/ui/tabledesign/TableUndo.hxx
+++ b/dbaccess/source/ui/tabledesign/TableUndo.hxx
@@ -136,7 +136,6 @@ namespace dbaui
     protected:
         MultiSelection      m_aDelKeys,
                             m_aInsKeys;
-        sal_Bool                m_bActPrimKeySet;
         OTableEditorCtrl* m_pEditorCtrl;
 
         virtual void    Undo();


More information about the Libreoffice-commits mailing list