summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-02-21 18:33:30 -0600
committerThomas Arnhold <thomas@arnhold.org>2013-02-24 01:59:07 +0000
commitaca27afb3eb1032201ce3520df9fb950442cf64a (patch)
tree1d35f67c30ccf7293dac035669801ac3d0efffa4 /oox
parenta64df1b8fd594dceb561565a77db5cc095085e66 (diff)
coverity#984099: Unitialized scalar field
Change-Id: I9938ffebca054744a6a1e333df3933a3633ea8d3 Reviewed-on: https://gerrit.libreoffice.org/2318 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/vml/vmltextbox.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/oox/source/vml/vmltextbox.cxx b/oox/source/vml/vmltextbox.cxx
index 65b8f34dbdc1..1499091a8cfd 100644
--- a/oox/source/vml/vmltextbox.cxx
+++ b/oox/source/vml/vmltextbox.cxx
@@ -41,8 +41,12 @@ TextPortionModel::TextPortionModel( const TextFontModel& rFont, const OUString&
}
TextBox::TextBox(ShapeTypeModel& rTypeModel)
- : mrTypeModel(rTypeModel),
- borderDistanceSet( false )
+ : mrTypeModel(rTypeModel)
+ , borderDistanceSet( false )
+ , borderDistanceLeft(0)
+ , borderDistanceTop(0)
+ , borderDistanceRight(0)
+ , borderDistanceBottom(0)
{
}