diff options
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/common/DocumentHandler.cxx | 4 |
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(""); |