diff options
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/ipclient.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/ipclient.cxx b/sfx2/source/view/ipclient.cxx index 73fe6f241bae..92b763327ea9 100644 --- a/sfx2/source/view/ipclient.cxx +++ b/sfx2/source/view/ipclient.cxx @@ -94,9 +94,9 @@ public: tools::Rectangle lcl_negateRectX(const tools::Rectangle& rRect) { return tools::Rectangle( - std::max(0l, -rRect.Right()), + std::max(static_cast<tools::Long>(0l), -rRect.Right()), rRect.Top(), - std::max(0l, -rRect.Left()), + std::max(static_cast<tools::Long>(0l), -rRect.Left()), rRect.Bottom()); } |