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

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


 sw/qa/extras/rtfexport/rtfexport.cxx |    2 +-
 sw/qa/extras/ww8export/ww8export.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa83f3c4636d5dd754f064116900e596dffdb912
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Nov 21 14:18:14 2014 +0100

    WaE: ‘isNumber’ [-Werror=maybe-uninitialized]
    
    Change-Id: I307af9b8619db00afaef378df60352c06eb1e4c9
    (cherry picked from commit 04b3a3c801bc452f659048a816829300d6b2a16f)

diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index 019c87b..f55967e 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -31,7 +31,7 @@ public:
 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;
commit 45a7a1a44d263d0e61a8251a7587b1dbc1b535dd
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Nov 21 14:12:05 2014 +0100

    WaE: ‘isNumber’ [-Werror=maybe-uninitialized]
    
    Change-Id: I5a46eb90749965193d2965740d85a1a2eb1ce641
    (cherry picked from commit 7171f7920ee2e8d31f51d27eab86305ecf14626e)

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