summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-11 11:08:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-11 11:21:12 +0100
commit4355ac8c31cf65988ae806097eeb2f5df63c1e8a (patch)
tree0c2210f088003e9136d0054259bfadb4d10a6e58
parent4e0129e79946575741842506e3ac813399631756 (diff)
coverity#708338 Uninitialized scalar field
Change-Id: I2c4eb18e6bf140d37a10c8105922e13583dcde41
-rw-r--r--include/svx/EnhancedCustomShape2d.hxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx
index 692455af94a6..02c49007720b 100644
--- a/include/svx/EnhancedCustomShape2d.hxx
+++ b/include/svx/EnhancedCustomShape2d.hxx
@@ -166,8 +166,17 @@ class EnhancedCustomShape2d : public SfxItemSet
com::sun::star::drawing::EnhancedCustomShapeParameter aYRangeMinimum;
com::sun::star::drawing::EnhancedCustomShapeParameter aYRangeMaximum;
- Handle() : bMirroredX ( false ), bMirroredY ( false ), bSwitched( false ),
- nRefX( -1 ), nRefY( -1 ), nRefAngle( -1 ), nRefR( -1 ) {};
+ Handle()
+ : nFlags(0)
+ , bMirroredX ( false )
+ , bMirroredY ( false )
+ , bSwitched( false )
+ , nRefX( -1 )
+ , nRefY( -1 )
+ , nRefAngle( -1 )
+ , nRefR( -1 )
+ {
+ }
};
bool IsFlipVert() { return bFlipV; };