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

Norbert Thiebaud nthiebaud at gmail.com
Sat Feb 1 14:23:01 PST 2014


 dbaccess/source/ui/querydesign/TableFieldDescription.cxx   |    4 ++
 desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx |   19 ++++++-------
 2 files changed, 14 insertions(+), 9 deletions(-)

New commits:
commit 21e90f901dd5698e80ad6b1eb50cfc265ff0e77b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sat Feb 1 16:16:53 2014 -0600

    coverity#707748 : Uninitialized scalar field
    
    Change-Id: I9155c4ab7409d1fa00abbc3c81ff03d0c0d3910b

diff --git a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
index 61ef5f9..fb5e42c 100644
--- a/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extensioncmdqueue.cxx
@@ -122,7 +122,7 @@ class ProgressCmdEnv
     uno::Reference< uno::XComponentContext > m_xContext;
     uno::Reference< task::XAbortChannel> m_xAbortChannel;
 
-    DialogHelper   *m_pDialogHelper;
+    DialogHelper*   m_pDialogHelper;
     OUString        m_sTitle;
     bool            m_bAborted;
     bool            m_bWarnUser;
@@ -143,14 +143,15 @@ public:
     */
 
     ProgressCmdEnv( const uno::Reference< uno::XComponentContext > rContext,
-                    DialogHelper *pDialogHelper,
-                    const OUString &rTitle )
-        :   m_xContext( rContext ),
-            m_pDialogHelper( pDialogHelper ),
-            m_sTitle( rTitle ),
-            m_bAborted( false ),
-            m_bWarnUser( false )
-    {}
+                    DialogHelper* pDialogHelper,
+                    const OUString& rTitle )
+        : m_xContext( rContext )
+        , m_pDialogHelper( pDialogHelper )
+        , m_sTitle( rTitle )
+        , m_bAborted( false )
+        , m_bWarnUser( false )
+        , m_nCurrentProgress(0)
+        {}
 
     Dialog * activeDialog() { return m_pDialogHelper ? m_pDialogHelper->getWindow() : NULL; }
 
commit c20d57c650f9c3b96c36f1afe831763fa3dfafca
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sat Feb 1 16:13:27 2014 -0600

    coverity#707745 : Uninitialized scalar field
    
    Change-Id: If59d4018da0c406ecaa8e8348aa8ca95db72c5f1

diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
index 65f4e05..5bef676 100644
--- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
+++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
@@ -53,8 +53,12 @@ OTableFieldDesc::OTableFieldDesc(const OTableFieldDesc& rRS)
 
 OTableFieldDesc::OTableFieldDesc(const OUString& rT, const OUString& rF )
     :m_pTabWindow(0)
+    ,m_eDataType(1000)
     ,m_eFunctionType( FKT_NONE )
+    ,m_eFieldType(TAB_NORMAL_FIELD)
     ,m_eOrderDir( ORDER_NONE )
+    ,m_nIndex(0)
+    ,m_nColWidth(0)
     ,m_nColumnId((sal_uInt16)-1)
     ,m_bGroupBy(sal_False)
     ,m_bVisible(sal_False)


More information about the Libreoffice-commits mailing list