summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-23 12:33:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-24 13:18:34 +0100
commit7ca9619dfe976e5c443956aefad4bb3635aa530d (patch)
treebf84dc5d558b957feb90e937f49dc03203652b51 /writerperfect
parentdc9e271c130a14e1f8446227238397ddcb34028a (diff)
-Werror=parentheses (upcoming GCC 8)
Change-Id: I4522dc7929030c5da59f2ab030a806ebe7516bd1 Reviewed-on: https://gerrit.libreoffice.org/48403 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/DocumentHandler.cxx4
1 files changed, 2 insertions, 2 deletions
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("");