[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Tue Nov 26 08:29:30 PST 2013
sw/source/core/docnode/nodedump.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e06ef25aea312380411753f735da14a1e224a2e2
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Nov 26 18:28:41 2013 +0200
WaE: int/sal_Int32 format confusion
Change-Id: I0dc0bd5c8a751fbda93eeffecc1a01496427da66
diff --git a/sw/source/core/docnode/nodedump.cxx b/sw/source/core/docnode/nodedump.cxx
index 5934911..cd0bb5e2 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
}
More information about the Libreoffice-commits
mailing list