[Libreoffice-commits] .: sw/source

Tor Lillqvist tml at kemper.freedesktop.org
Thu Sep 29 11:40:22 PDT 2011


 sw/source/core/docnode/nodedump.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 5e4a7452c8f96192a420704b12090e871d8b25dd
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu Sep 29 21:12:45 2011 +0300

    Allow for lack of LIBXML_ATTR_FORMAT

diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index f5b85dc..52f61ce 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;


More information about the Libreoffice-commits mailing list