summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-12 09:14:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-12 12:06:10 +0200
commit76c4ed30437125a922936c036a3dc57441938c61 (patch)
tree89730a7d100f2a2e3f0873fcecb624ccf06034be /vcl/osx
parent953db3ca96d0055a83f718794416a9e39b0b20ce (diff)
Revert "improve empty tools::Rectangle (width)"
This reverts commit a46a257794f1f53b294735fc876c394be23a3811. Too many issues, I'm going to try landing this in smaller pieces to make it easier to fix regressions Change-Id: Ie5e8979838017af86c119c887b580385ba068d54 Reviewed-on: https://gerrit.libreoffice.org/73859 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salnativewidgets.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx
index 481d7a90e5fe..ad1362d438de 100644
--- a/vcl/osx/salnativewidgets.cxx
+++ b/vcl/osx/salnativewidgets.cxx
@@ -1017,8 +1017,6 @@ bool AquaSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPa
tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion )
{
- if (rControlRegion.IsEmpty()) // nothing to do
- return false;
bool toReturn = false;
tools::Rectangle aCtrlBoundRect( rControlRegion );