From c0c678ea9212abca4c70c737028c20073bb53b9d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 27 Sep 2016 06:22:27 +0300 Subject: Add note that Rectangle::toString() format now has a stability requirement De facto, at least. Change-Id: Ie83f275d376841a7e4e9f7e80895165fe70a69b9 --- tools/source/generic/gen.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/source/generic/gen.cxx') 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(); } -- cgit