[Libreoffice-commits] core.git: tools/source
Tor Lillqvist
tml at collabora.com
Tue Sep 27 03:28:20 UTC 2016
tools/source/generic/gen.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c0c678ea9212abca4c70c737028c20073bb53b9d
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Sep 27 06:22:27 2016 +0300
Add note that Rectangle::toString() format now has a stability requirement
De facto, at least.
Change-Id: Ie83f275d376841a7e4e9f7e80895165fe70a69b9
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 499ab10..96bbd91 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();
}
More information about the Libreoffice-commits
mailing list