summaryrefslogtreecommitdiff
path: root/tools/source/generic/gen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/source/generic/gen.cxx')
-rw-r--r--tools/source/generic/gen.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/source/generic/gen.cxx b/tools/source/generic/gen.cxx
index 069b7482cfba..fa2878928512 100644
--- a/tools/source/generic/gen.cxx
+++ b/tools/source/generic/gen.cxx
@@ -174,7 +174,10 @@ OString tools::Rectangle::toString() const
// 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.
- return OString::number(Left()) + ", " + OString::number(Top()) + ", " + OString::number(getWidth()) + ", " + OString::number(getHeight());
+ return OString::number(Left()) + ", "
+ + OString::number(Top()) + ", "
+ + OString::number(getOpenWidth()) + ", "
+ + OString::number(getOpenHeight());
}
void tools::Rectangle::expand(tools::Long nExpandBy)