[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - oox/source

Kohei Yoshida kohei.yoshida at collabora.com
Fri Nov 29 13:45:26 PST 2013


 oox/source/export/drawingml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e4056b6b8194d89f617286a52652dd12584eeebc
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Thu Nov 21 09:43:46 2013 -0500

    Compiler warning.
    
    Change-Id: I66b16e9767369fd54611f92d66cd1b43f4e8c5a8
    (cherry picked from commit 5db19a417952381fc6349b9691c581090d7d2679)
    
    Signed-off-by: Eike Rathke <erack at redhat.com>

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index 2abc67a..eae46e0 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -789,7 +789,7 @@ void DrawingML::WriteRunProperties( Reference< XPropertySet > rRun, sal_Bool bIs
         mAny >>= nCharEscapement;
 
     if( nCharEscapement && GETAD( CharEscapementHeight ) ) {
-        sal_uInt32 nCharEscapementHeight;
+        sal_uInt32 nCharEscapementHeight = 0;
         mAny >>= nCharEscapementHeight;
         nSize = (nSize * nCharEscapementHeight) / 100;
         // MSO uses default ~58% size


More information about the Libreoffice-commits mailing list