summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdview.cxx')
-rw-r--r--svx/source/svdraw/svdview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 27233a6435a6..297f21fe7252 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -518,8 +518,8 @@ SdrHitKind SdrView::PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) co
// Around the TextEditArea there's a border to select without going into text edit mode.
tools::Rectangle aBoundRect;
- const GeoStat& rGeo = pTextObj->GetGeoStat();
- if (pTextObj && !rGeo.m_nRotationAngle && !rGeo.m_nShearAngle)
+ if (pTextObj && !pTextObj->GetGeoStat().m_nRotationAngle
+ && !pTextObj->GetGeoStat().m_nShearAngle)
{
pTextObj->TakeTextEditArea(nullptr, nullptr, &aBoundRect, nullptr);
}