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

Eike Rathke erack at redhat.com
Fri Nov 21 05:13:40 PST 2014


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

New commits:
commit 7171f7920ee2e8d31f51d27eab86305ecf14626e
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Nov 21 14:12:05 2014 +0100

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

diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx
index 593f01e..12fbfd1 100644
--- a/sw/qa/extras/rtfexport/rtfexport.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport.cxx
@@ -54,7 +54,7 @@ public:
 
     bool CjkNumberedListTestHelper(sal_Int16& rValue)
     {
-        sal_Bool isNumber;
+        sal_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