diff options
-rw-r--r-- | include/svx/sphere3d.hxx | 8 | ||||
-rw-r--r-- | svx/source/engine3d/sphere3d.cxx | 20 |
2 files changed, 14 insertions, 14 deletions
diff --git a/include/svx/sphere3d.hxx b/include/svx/sphere3d.hxx index 1f15d685cfdf..42bd8ebbfa53 100644 --- a/include/svx/sphere3d.hxx +++ b/include/svx/sphere3d.hxx @@ -35,8 +35,8 @@ class E3dDefaultAttributes; class E3dSphereObj final : public E3dCompoundObject { private: - basegfx::B3DPoint aCenter; - basegfx::B3DVector aSize; + basegfx::B3DPoint m_aCenter; + basegfx::B3DVector m_aSize; virtual std::unique_ptr<sdr::contact::ViewContact> CreateObjectSpecificViewContact() override; virtual std::unique_ptr<sdr::properties::BaseProperties> CreateObjectSpecificProperties() override; @@ -72,8 +72,8 @@ public: virtual rtl::Reference<SdrObject> CloneSdrObject(SdrModel& rTargetModel) const override; - const basegfx::B3DPoint& Center() const { return aCenter; } - const basegfx::B3DVector& Size() const { return aSize; } + const basegfx::B3DPoint& Center() const { return m_aCenter; } + const basegfx::B3DVector& Size() const { return m_aSize; } // set local parameters when the geometry is recreated void SetCenter(const basegfx::B3DPoint& rNew); 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<SdrObject> 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(); } } |