From 48e9066621dffc5889cf158f09d5c81347a1f86b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 2 Dec 2024 08:14:03 +0100 Subject: svx: prefix members of E3dSphereObj See tdf#94879 for motivation. Change-Id: If10c0d7a40536f27fb18f7624c91092471d45996 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177651 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- svx/source/engine3d/sphere3d.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'svx') diff --git a/svx/source/engine3d/sphere3d.cxx b/svx/source/engine3d/sphere3d.cxx index 4b1121453921..35c6dc0135d2 100644 --- a/svx/source/engine3d/sphere3d.cxx +++ b/svx/source/engine3d/sphere3d.cxx @@ -52,8 +52,8 @@ E3dSphereObj::E3dSphereObj( // Set defaults SetDefaultAttributes(rDefault); - aCenter = rCenter; - aSize = r3DSize; + m_aCenter = rCenter; + m_aSize = r3DSize; } E3dSphereObj::E3dSphereObj(SdrModel& rSdrModel) @@ -72,8 +72,8 @@ E3dSphereObj::E3dSphereObj(SdrModel& rSdrModel, E3dSphereObj const & rSource) const E3dDefaultAttributes aDefault; SetDefaultAttributes(aDefault); - aCenter = rSource.aCenter; - aSize = rSource.aSize; + m_aCenter = rSource.m_aCenter; + m_aSize = rSource.m_aSize; } E3dSphereObj::~E3dSphereObj() @@ -83,8 +83,8 @@ E3dSphereObj::~E3dSphereObj() void E3dSphereObj::SetDefaultAttributes(const E3dDefaultAttributes& rDefault) { // Set defaults - aCenter = rDefault.GetDefaultSphereCenter(); - aSize = rDefault.GetDefaultSphereSize(); + m_aCenter = rDefault.GetDefaultSphereCenter(); + m_aSize = rDefault.GetDefaultSphereSize(); } SdrObjKind E3dSphereObj::GetObjIdentifier() const @@ -108,18 +108,18 @@ rtl::Reference E3dSphereObj::CloneSdrObject(SdrModel& rTargetModel) c void E3dSphereObj::SetCenter(const basegfx::B3DPoint& rNew) { - if(aCenter != rNew) + if(m_aCenter != rNew) { - aCenter = rNew; + m_aCenter = rNew; ActionChanged(); } } void E3dSphereObj::SetSize(const basegfx::B3DVector& rNew) { - if(aSize != rNew) + if(m_aSize != rNew) { - aSize = rNew; + m_aSize = rNew; ActionChanged(); } } -- cgit