[Libreoffice-commits] core.git: 5 commits - sal/qa sc/inc sc/source
Norbert Thiebaud
nthiebaud at gmail.com
Tue Feb 18 06:16:27 CET 2014
sal/qa/osl/process/osl_Thread.cxx | 11 ++++++++++-
sc/inc/colorscale.hxx | 4 +++-
sc/source/core/data/conditio.cxx | 5 +++--
sc/source/core/tool/orcusxml.cxx | 9 +++++++--
4 files changed, 23 insertions(+), 6 deletions(-)
New commits:
commit 416d0453c5dcf2802eecdec59b6e85d5b097c55b
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 17 23:13:16 2014 -0600
coverity#984129 Uninitialized scalar field
Change-Id: Ia7b1a6aa15dd2438ebb39739535c4dfe0836e785
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index f252556..f895a28 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -1901,6 +1901,7 @@ public:
char m_Char_Test;
// for pass thread-special data to thread
myKeyThread(const char cData)
+ : m_Char_Test(0)
{
m_nData = cData;
}
commit 34af1079f4ee6b63bdb6c634c3c5b6893e92bc1e
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 17 22:54:06 2014 -0600
coverity#984130 Uninitialized scalar field
Change-Id: I6ebb1078c44b5fc0140ee59dc16a2bd7c7188453
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index c45b554..f252556 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -78,7 +78,15 @@ public:
// A small stopwatch for internal use
// (c) Lars Langhans 29.12.1996 22:10
-StopWatch::StopWatch():m_bIsValid(false),m_bIsRunning(false) {}
+StopWatch::StopWatch()
+ : m_nNanoSec(0)
+ , m_nSeconds(0)
+ , m_bIsValid(false)
+ , m_bIsRunning(false)
+{
+ t1 = {0, 0};
+ t2 = {0, 0};
+}
void StopWatch::start()
{
commit dd0081bdff211e551eac4ac5a36b60f92b57ef86
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 17 22:47:13 2014 -0600
coverity#984132 Uninitialized scalar field
Change-Id: I2e483d1612e2344b71e0d140bf1fe264fbf9b0e3
diff --git a/sc/inc/colorscale.hxx b/sc/inc/colorscale.hxx
index 9dcce78..067a5a5 100644
--- a/sc/inc/colorscale.hxx
+++ b/sc/inc/colorscale.hxx
@@ -311,8 +311,10 @@ struct ScIconSetFormatData
boost::ptr_vector<ScColorScaleEntry> maEntries;
ScIconSetFormatData():
+ eIconSetType(IconSet_3Arrows),
mbShowValue(true),
- mbReverse(false) {}
+ mbReverse(false)
+ {}
};
class SC_DLLPUBLIC ScIconSetFormat : public ScColorFormat
commit 3920bb664a1d60c3b32f8ff7e9bf6776581ef8b0
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 17 22:39:08 2014 -0600
coverity#984133 Uninitialized scalar field
Change-Id: I933aa0d34d99808ccc359acfd895a7b9ea60217c
diff --git a/sc/source/core/data/conditio.cxx b/sc/source/core/data/conditio.cxx
index 3d2b0c7..5974b8f 100644
--- a/sc/source/core/data/conditio.cxx
+++ b/sc/source/core/data/conditio.cxx
@@ -1599,8 +1599,9 @@ ScFormatEntry* ScCondFormatEntry::Clone( ScDocument* pDoc ) const
//------------------------------------------------------------------------
-ScCondDateFormatEntry::ScCondDateFormatEntry( ScDocument* pDoc ):
- ScFormatEntry( pDoc )
+ScCondDateFormatEntry::ScCondDateFormatEntry( ScDocument* pDoc )
+ : ScFormatEntry( pDoc )
+ , meType(condformat::TODAY)
{
}
commit d908a33013014fa198cf3d14c1b02b69df2a1323
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Mon Feb 17 22:32:55 2014 -0600
coverity#984134 Uninitialized scalar field
Change-Id: Iafc65bc7d168a1750dd25cbd629762362bc73af5
diff --git a/sc/source/core/tool/orcusxml.cxx b/sc/source/core/tool/orcusxml.cxx
index c4a7b77..b5f51b4 100644
--- a/sc/source/core/tool/orcusxml.cxx
+++ b/sc/source/core/tool/orcusxml.cxx
@@ -13,8 +13,13 @@
#include "svtools/treelistentry.hxx"
#include "rtl/strbuf.hxx"
-ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType) :
- meType(eType), maLinkedPos(ScAddress::INITIALIZE_INVALID), mbRangeParent(false), mbLeafNode(true) {}
+ScOrcusXMLTreeParam::EntryData::EntryData(EntryType eType)
+ : mnNamespaceID(0)
+ , meType(eType)
+ , maLinkedPos(ScAddress::INITIALIZE_INVALID)
+ , mbRangeParent(false)
+ , mbLeafNode(true)
+{}
ScOrcusXMLTreeParam::EntryData* ScOrcusXMLTreeParam::getUserData(SvTreeListEntry& rEntry)
{
More information about the Libreoffice-commits
mailing list