writerperfect/source/common/DocumentHandler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 7ca9619dfe976e5c443956aefad4bb3635aa530d Author: Stephan Bergmann <[email protected]> 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 <[email protected]> Reviewed-by: Stephan Bergmann <[email protected]> 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(""); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
