summaryrefslogtreecommitdiff
path: root/include/tools/gen.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/gen.hxx')
-rw-r--r--include/tools/gen.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx
index 6007f126a8d3..c1cffcbe6ccc 100644
--- a/include/tools/gen.hxx
+++ b/include/tools/gen.hxx
@@ -356,6 +356,8 @@ inline std::basic_ostream<charT, traits> & operator <<(
// Rectangle
#define RECT_EMPTY ((short)-32767)
+#define RECT_MAX LONG_MAX
+#define RECT_MIN LONG_MIN
class TOOLS_DLLPUBLIC SAL_WARN_UNUSED Rectangle
{