[Libreoffice-commits] core.git: oox/source

Norbert Thiebaud nthiebaud at gmail.com
Sat Feb 23 17:59:25 PST 2013


 oox/source/vml/vmltextbox.cxx |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit aca27afb3eb1032201ce3520df9fb950442cf64a
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Thu Feb 21 18:33:30 2013 -0600

    coverity#984099: Unitialized scalar field
    
    Change-Id: I9938ffebca054744a6a1e333df3933a3633ea8d3
    Reviewed-on: https://gerrit.libreoffice.org/2318
    Reviewed-by: Thomas Arnhold <thomas at arnhold.org>
    Tested-by: Thomas Arnhold <thomas at arnhold.org>

diff --git a/oox/source/vml/vmltextbox.cxx b/oox/source/vml/vmltextbox.cxx
index 65b8f34..1499091 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)
 {
 }
 


More information about the Libreoffice-commits mailing list