[Libreoffice-commits] core.git: svx/source
Caolán McNamara
caolanm at redhat.com
Thu Nov 30 09:10:10 UTC 2017
svx/source/svdraw/svdograf.cxx | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
New commits:
commit a2a0612e596ac8275fd5d1aa3379ca0985803c45
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 30 09:04:07 2017 +0000
coverity#1424325 Uninitialized scalar field
and
coverity#1424323 Uninitialized scalar field
Change-Id: I00855321a4099720b903553a46f45f6919f71880
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 47c837f01712..b0ce78c47607 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -327,12 +327,12 @@ void SdrGrafObj::onGraphicChanged()
SdrGrafObj::SdrGrafObj()
-: SdrRectObj(),
- pGraphicLink ( nullptr ),
- bMirrored ( false ),
- mbIsSignatureLine(false),
- mbIsSignatureLineShowSignDate(true),
- mbIsSignatureLineCanAddComment(false)
+ : SdrRectObj()
+ , pGraphicLink(nullptr)
+ , bMirrored(false)
+ , mbIsSignatureLine(false)
+ , mbIsSignatureLineShowSignDate(true)
+ , mbIsSignatureLineCanAddComment(false)
{
pGraphic = new GraphicObject;
mpReplacementGraphic = nullptr;
@@ -354,9 +354,12 @@ SdrGrafObj::SdrGrafObj()
}
SdrGrafObj::SdrGrafObj(const Graphic& rGrf, const tools::Rectangle& rRect)
-: SdrRectObj ( rRect ),
- pGraphicLink ( nullptr ),
- bMirrored ( false )
+ : SdrRectObj(rRect)
+ , pGraphicLink(nullptr)
+ , bMirrored(false)
+ , mbIsSignatureLine(false)
+ , mbIsSignatureLineShowSignDate(true)
+ , mbIsSignatureLineCanAddComment(false)
{
pGraphic = new GraphicObject( rGrf );
mpReplacementGraphic = nullptr;
@@ -378,9 +381,12 @@ SdrGrafObj::SdrGrafObj(const Graphic& rGrf, const tools::Rectangle& rRect)
}
SdrGrafObj::SdrGrafObj( const Graphic& rGrf )
-: SdrRectObj(),
- pGraphicLink ( nullptr ),
- bMirrored ( false )
+ : SdrRectObj()
+ , pGraphicLink(nullptr)
+ , bMirrored(false)
+ , mbIsSignatureLine(false)
+ , mbIsSignatureLineShowSignDate(true)
+ , mbIsSignatureLineCanAddComment(false)
{
pGraphic = new GraphicObject( rGrf );
mpReplacementGraphic = nullptr;
More information about the Libreoffice-commits
mailing list