diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-30 11:52:33 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-30 11:53:45 +0300 |
commit | 0f1e33c54d02a20c476413ceebc99460a9cfef1f (patch) | |
tree | 0c3d9af8c3811f212176ce8a1ac0e0b6165506f7 | |
parent | 0827e813f9b5afcec393bad7894c4ec1954d88f1 (diff) |
WaE: format '%i' expects type 'int', but argument has type 'long int'
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 4 |
1 files 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 ) |