[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sw/qa

Eike Rathke erack at redhat.com
Fri Nov 21 03:59:00 PST 2014


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

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

    WaE: ‘isNumber’ [-Werror=maybe-uninitialized]
    
    Change-Id: I17ea9518e862b8c97c4c3f4564caedf9d045b7b3
    (cherry picked from commit 82e5f287cc278781cdedee0d92fb4ce17cbc42bc)

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