From e06ef25aea312380411753f735da14a1e224a2e2 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 26 Nov 2013 18:28:41 +0200 Subject: WaE: int/sal_Int32 format confusion Change-Id: I0dc0bd5c8a751fbda93eeffecc1a01496427da66 --- sw/source/core/docnode/nodedump.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx index 5934911a2219..cd0bb5e25f0a 100644 --- a/sw/source/core/docnode/nodedump.cxx +++ b/sw/source/core/docnode/nodedump.cxx @@ -494,7 +494,7 @@ void SwRedlineTbl::dumpAsXml( xmlTextWriterPtr w ) //writer.writeFormatAttribute( "ptr", "%p", &pStartContent ); //writer.writeFormatAttribute( "content_index", "%d", pStartContent.GetIndex() ); //writer.endElement( ); // swindex - writer.writeFormatAttribute( "swindex_content_index", TMP_FORMAT, pStartContent.GetIndex() ); + writer.writeFormatAttribute( "swindex_content_index", TMP_FORMAT_I32, pStartContent.GetIndex() ); } //writer.endElement( ); // swnodeindex } @@ -534,7 +534,7 @@ void SwRedlineTbl::dumpAsXml( xmlTextWriterPtr w ) //writer.writeFormatAttribute( "ptr", "%p", &pEndContent ); //writer.writeFormatAttribute( "content_index", "%d", pEndContent.GetIndex() ); //writer.endElement( ); // swindex - writer.writeFormatAttribute( "swindex_content_index", TMP_FORMAT, pEndContent.GetIndex() ); + writer.writeFormatAttribute( "swindex_content_index", TMP_FORMAT_I32, pEndContent.GetIndex() ); } //writer.endElement( ); // swnodeindex } -- cgit