summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-09-27 06:22:27 +0300
committerTor Lillqvist <tml@collabora.com>2016-09-27 06:25:17 +0300
commitc0c678ea9212abca4c70c737028c20073bb53b9d (patch)
treef544ed80e768280f0ca08bc674e56bd4a1b0f4d5
parentdc99aa32becdd63c62db2cdb564b38a020fb6afa (diff)
Add note that Rectangle::toString() format now has a stability requirement
De facto, at least. Change-Id: Ie83f275d376841a7e4e9f7e80895165fe70a69b9
-rw-r--r--tools/source/generic/gen.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 499ab10c6f4a..96bbd91a2e4f 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -193,6 +193,9 @@ SvStream& WriteRectangle( SvStream& rOStream, const Rectangle& rRect )
OString Rectangle::toString() const
{
std::stringstream ss;
+ // Note that this is not just used for debugging output but the
+ // format is parsed by external code (passed in callbacks to
+ // LibreOfficeKit clients). So don't change.
ss << getX() << ", " << getY() << ", " << getWidth() << ", " << getHeight();
return ss.str().c_str();
}