[Libreoffice-commits] core.git: 2 commits - sc/source
Caolán McNamara
caolanm at redhat.com
Wed Feb 19 21:37:06 CET 2014
sc/source/ui/app/transobj.cxx | 1 +
sc/source/ui/docshell/autostyl.cxx | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit 27e4a3248d2e541bb05a2f943e85ae1b9eeb4530
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 19 20:35:40 2014 +0000
coverity#738802 Uninitialized scalar field
Change-Id: If4951e6c02b026aaad20c83d08fd4917af03e701
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index 82b5731..9f48db9 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -119,6 +119,7 @@ void ScTransferObj::PaintToDev( OutputDevice* pDev, ScDocument* pDoc, double nPr
ScTransferObj::ScTransferObj( ScDocument* pClipDoc, const TransferableObjectDescriptor& rDesc ) :
pDoc( pClipDoc ),
+ nNonFiltered(0),
aObjDesc( rDesc ),
nDragHandleX( 0 ),
nDragHandleY( 0 ),
commit aecb68988b9e733f8cb37cc998560c824e96af73
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 19 20:34:53 2014 +0000
coverity#738803 Uninitialized scalar field
Change-Id: Id24edb82d99d576435a8f310bfaf8521a77f97b3
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index 78dbf5c..5e031fa 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -79,8 +79,9 @@ struct FindNonZeroTimeout : public ::std::unary_function<ScAutoStyleData, bool>
}
-ScAutoStyleList::ScAutoStyleList(ScDocShell* pShell) :
- pDocSh( pShell )
+ScAutoStyleList::ScAutoStyleList(ScDocShell* pShell)
+ : pDocSh(pShell)
+ , nTimerStart(0)
{
aTimer.SetTimeoutHdl( LINK( this, ScAutoStyleList, TimerHdl ) );
aInitTimer.SetTimeoutHdl( LINK( this, ScAutoStyleList, InitHdl ) );
More information about the Libreoffice-commits
mailing list