summaryrefslogtreecommitdiff
path: root/basctl/source/dlged/dlgedview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/dlged/dlgedview.cxx')
-rw-r--r--basctl/source/dlged/dlgedview.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/dlged/dlgedview.cxx b/basctl/source/dlged/dlgedview.cxx
index 4bd0a5d2e890..cacb081371e7 100644
--- a/basctl/source/dlged/dlgedview.cxx
+++ b/basctl/source/dlged/dlgedview.cxx
@@ -148,9 +148,7 @@ SdrObject* impLocalHitCorrection(SdrObject* pRetval, const Point& rPnt, sal_uInt
// will access aOutRect directly
const Rectangle aOuterRectangle(pDlgEdObj->GetLastBoundRect());
- if(!aOuterRectangle.IsEmpty()
- && RECT_EMPTY != aOuterRectangle.Right()
- && RECT_EMPTY != aOuterRectangle.Bottom())
+ if(!aOuterRectangle.IsEmpty())
{
basegfx::B2DRange aOuterRange(
aOuterRectangle.Left(), aOuterRectangle.Top(),