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

Stephan Bergmann sbergman at redhat.com
Wed Jan 24 12:18:56 UTC 2018


 writerperfect/source/common/DocumentHandler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7ca9619dfe976e5c443956aefad4bb3635aa530d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jan 23 12:33:39 2018 +0100

    -Werror=parentheses (upcoming GCC 8)
    
    Change-Id: I4522dc7929030c5da59f2ab030a806ebe7516bd1
    Reviewed-on: https://gerrit.libreoffice.org/48403
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx
index cba9a983aae9..43de86bfc879 100644
--- a/writerperfect/source/common/DocumentHandler.cxx
+++ b/writerperfect/source/common/DocumentHandler.cxx
@@ -145,12 +145,12 @@ void DocumentHandler::startElement(const char *psName, const librevenge::RVNGPro
             for (int j=0; j<9; ++j)
             {
                 // list of the encoded attributes followed by their lengths
-                static char const *(listEncoded[9])=
+                static char const *listEncoded[9]=
                 {
                     "draw:name", "svg:font-family", "style:condition", "style:num-prefix", "style:num-suffix",
                     "table:formula", "text:bullet-char", "text:label", "xlink:href"
                 };
-                static size_t const(listEncodedLength[9])= {9,15,15,16,16,13,16,10,10};
+                static size_t const listEncodedLength[9]= {9,15,15,16,16,13,16,10,10};
                 if (keyLength==listEncodedLength[j] && strncmp(i.key(), listEncoded[j], keyLength)==0)
                 {
                     librevenge::RVNGString decodedValue("");


More information about the Libreoffice-commits mailing list