From 0f1e33c54d02a20c476413ceebc99460a9cfef1f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 30 Mar 2012 11:52:33 +0300 Subject: WaE: format '%i' expects type 'int', but argument has type 'long int' --- chart2/source/view/main/ChartView.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 77fe6aba9b42..fbc507db1624 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -3044,12 +3044,12 @@ int closeCallback(void* ) void dumpPositionAsAttribute(const awt::Point& rPoint, xmlTextWriterPtr xmlWriter) { - xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("position"), "%i,%i", rPoint.X, rPoint.Y); + xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("position"), "%li,%li", rPoint.X, rPoint.Y); } void dumpSizeAsAttribute(const awt::Size& rSize, xmlTextWriterPtr xmlWriter) { - xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("size"), "%ix%i", rSize.Width, rSize.Height); + xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("size"), "%lix%li", rSize.Width, rSize.Height); } void dumpShapeDescriptorAsAttribute( uno::Reference< drawing::XShapeDescriptor > xDescr, xmlTextWriterPtr xmlWriter ) -- cgit