diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-09-29 21:12:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-09-29 21:39:40 +0300 |
commit | 5e4a7452c8f96192a420704b12090e871d8b25dd (patch) | |
tree | 2c702ea9de889a95ed3b2cd57535a358a7219167 /sw | |
parent | fdo 37007, Version at 102.1 + (c) for OpenSymbol.ttf (diff) | |
download | core-5e4a7452c8f96192a420704b12090e871d8b25dd.tar.gz core-5e4a7452c8f96192a420704b12090e871d8b25dd.zip |
Allow for lack of LIBXML_ATTR_FORMAT
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/nodedump.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index f5b85dcc9a28..52f61cea98df 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -47,7 +47,11 @@ public: xmlTextWriterPtr operator->(); void startElement( const char* element ); void endElement(); - void writeFormatAttribute( const char* attribute, const char* format, ... ) LIBXML_ATTR_FORMAT(3,4); + void writeFormatAttribute( const char* attribute, const char* format, ... ) +#ifdef LIBXML_ATTR_FORMAT + LIBXML_ATTR_FORMAT(3,4) +#endif + ; private: xmlTextWriterPtr writer; bool owns; |