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

Caolán McNamara caolanm at redhat.com
Thu Mar 19 03:26:31 PDT 2015


 sfx2/source/bastyp/fltfnc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0597e4be3eb1be2987db28507055126bc5a26421
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Mar 19 10:25:39 2015 +0000

    WaE: -Werror=maybe-uninitialized
    
    Change-Id: I310099e8e12fb6440e98fbca97af512a4f872ac0

diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 78d1897..e759875e 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -998,7 +998,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
             }
             else if ( lFilterProperties[nFilterProperty].Name == "Flags" )
             {
-                sal_Int32 nTmp;
+                sal_Int32 nTmp(0);
                 lFilterProperties[nFilterProperty].Value >>= nTmp;
                 nFlags = static_cast<SfxFilterFlags>(nTmp);
             }


More information about the Libreoffice-commits mailing list