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

Tor Lillqvist tml at collabora.com
Tue Apr 15 00:52:00 PDT 2014


 xmloff/source/text/txtimppr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 065a1aa0f0aad5a26c8c1dc2c74799ea6d8560f3
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Apr 15 10:49:58 2014 +0300

    WaE: 'bHidden' may be used uninitialized in this function
    
    Change-Id: I452b42593ad36fa13f18126c49a6f80ce2fa9d43

diff --git a/xmloff/source/text/txtimppr.cxx b/xmloff/source/text/txtimppr.cxx
index 7aee430..7ac8db5 100644
--- a/xmloff/source/text/txtimppr.cxx
+++ b/xmloff/source/text/txtimppr.cxx
@@ -115,7 +115,7 @@ bool XMLTextImportPropertyMapper::handleSpecialItem(
                                                   rUnitConverter );
         if( SvXMLImport::OOo_2x == GetImport().getGeneratorVersion() )
         {
-            bool bHidden;
+            bool bHidden = false;
             rProperty.maValue >>= bHidden;
             bHidden = !bHidden;
             rProperty.maValue <<= bHidden;


More information about the Libreoffice-commits mailing list