summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdograf.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-04-12 09:13:22 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-04-12 09:58:28 +0200
commitbd9b009491b9aed5160be870dc82af5709f41af2 (patch)
tree5b5e3abc5dc3a978a4e666a7eb69489268643445 /svx/source/svdraw/svdograf.cxx
parent198960184cd7c4bcc0366aadf1d0f61e52c2d7c3 (diff)
svx: prefix members of SdrObject
So that nOrdNum doesn't cause -Wshadow in SwDrawVirtObj::AddToDrawingPage(). Change-Id: Ie7b1401f5c3cb07bfa653c4268dbdce7ba7abea5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113966 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'svx/source/svdraw/svdograf.cxx')
-rw-r--r--svx/source/svdraw/svdograf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index bc0e125d46c1..1c8871127fe3 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -565,7 +565,7 @@ bool SdrGrafObj::IsLinkedGraphic() const
void SdrGrafObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
{
- bool bNoPresGrf = ( mpGraphicObject->GetType() != GraphicType::NONE ) && !bEmptyPresObj;
+ bool bNoPresGrf = ( mpGraphicObject->GetType() != GraphicType::NONE ) && !m_bEmptyPresObj;
rInfo.bResizeFreeAllowed = aGeo.nRotationAngle.get() % 9000 == 0 ||
aGeo.nRotationAngle.get() % 18000 == 0 ||
@@ -576,7 +576,7 @@ void SdrGrafObj::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const
rInfo.bRotate90Allowed = bNoPresGrf;
rInfo.bMirrorFreeAllowed = bNoPresGrf;
rInfo.bMirror45Allowed = bNoPresGrf;
- rInfo.bMirror90Allowed = !bEmptyPresObj;
+ rInfo.bMirror90Allowed = !m_bEmptyPresObj;
rInfo.bTransparenceAllowed = false;
// #i118485# Shear allowed and possible now