diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-17 15:28:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:23 +0100 |
commit | bbfc6ad3c0185c8742965822ee99a630eafdf6e3 (patch) | |
tree | f090dfe4737c47532ed57d75e8af1579fbe33680 /include | |
parent | 1f20a47d0e1c378a0f6ee85b1af7afbb7809cec5 (diff) |
Add Rectangle::toString()
There were already 5 versions of this in sw, 4 for SwRect, one for
Rectangle.
Change-Id: Icf8c78f9973d940a4d180b6f52dda9ea1be86c14
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/gen.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index e8ad8feeae8b..b17cb196dd87 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -27,6 +27,10 @@ #include <cstdlib> class SvStream; +namespace rtl +{ + class OString; +} enum TriState { TRISTATE_FALSE, TRISTATE_TRUE, TRISTATE_INDET }; @@ -436,6 +440,7 @@ public: void setY( long n ) { nBottom += n-nTop; nTop = n; } void setWidth( long n ) { nRight = nLeft + n; } void setHeight( long n ) { nBottom = nTop + n; } + rtl::OString toString() const; private: long nLeft; |