[Libreoffice-commits] core.git: sw/qa

Eike Rathke erack at redhat.com
Fri Nov 21 03:57:15 PST 2014


 sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82e5f287cc278781cdedee0d92fb4ce17cbc42bc
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Nov 21 12:50:30 2014 +0100

    WaE: ‘isNumber’ [-Werror=maybe-uninitialized]
    
    Change-Id: I17ea9518e862b8c97c4c3f4564caedf9d045b7b3

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index d120db3..c4a7934 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -57,7 +57,7 @@ protected:
 protected:
     bool CjkNumberedListTestHelper(sal_Int16 &nValue)
     {
-        bool isNumber;
+        bool isNumber = false;
         uno::Reference<text::XTextRange> xPara(getParagraph(1));
         uno::Reference< beans::XPropertySet > properties( xPara, uno::UNO_QUERY);
         properties->getPropertyValue("NumberingIsNumber") >>= isNumber;


More information about the Libreoffice-commits mailing list