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

New commits:
commit 5e4a7452c8f96192a420704b12090e871d8b25dd
Author: Tor Lillqvist <t...@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;
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to