svx: prefix members of E3dCubeObj
See tdf#94879 for motivation. Change-Id: I0e1dcb44cd46fdf40ae21c264017c8fc9ca96b53 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175980 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
This commit is contained in:
@@ -47,11 +47,11 @@ class E3dDefaultAttributes;
|
|||||||
class SAL_WARN_UNUSED E3dCubeObj final : public E3dCompoundObject
|
class SAL_WARN_UNUSED E3dCubeObj final : public E3dCompoundObject
|
||||||
{
|
{
|
||||||
// Parameter
|
// Parameter
|
||||||
basegfx::B3DPoint aCubePos;
|
basegfx::B3DPoint m_aCubePos;
|
||||||
basegfx::B3DVector aCubeSize;
|
basegfx::B3DVector m_aCubeSize;
|
||||||
|
|
||||||
// BOOLeans
|
// BOOLeans
|
||||||
bool bPosIsCenter : 1;
|
bool m_bPosIsCenter : 1;
|
||||||
|
|
||||||
void SetDefaultAttributes(const E3dDefaultAttributes& rDefault);
|
void SetDefaultAttributes(const E3dDefaultAttributes& rDefault);
|
||||||
virtual std::unique_ptr<sdr::contact::ViewContact> CreateObjectSpecificViewContact() override;
|
virtual std::unique_ptr<sdr::contact::ViewContact> CreateObjectSpecificViewContact() override;
|
||||||
@@ -75,13 +75,13 @@ public:
|
|||||||
|
|
||||||
// Set local parameters with geometry recreation
|
// Set local parameters with geometry recreation
|
||||||
void SetCubePos(const basegfx::B3DPoint& rNew);
|
void SetCubePos(const basegfx::B3DPoint& rNew);
|
||||||
const basegfx::B3DPoint& GetCubePos() const { return aCubePos; }
|
const basegfx::B3DPoint& GetCubePos() const { return m_aCubePos; }
|
||||||
|
|
||||||
void SetCubeSize(const basegfx::B3DVector& rNew);
|
void SetCubeSize(const basegfx::B3DVector& rNew);
|
||||||
const basegfx::B3DVector& GetCubeSize() const { return aCubeSize; }
|
const basegfx::B3DVector& GetCubeSize() const { return m_aCubeSize; }
|
||||||
|
|
||||||
void SetPosIsCenter(bool bNew);
|
void SetPosIsCenter(bool bNew);
|
||||||
bool GetPosIsCenter() const { return bPosIsCenter; }
|
bool GetPosIsCenter() const { return m_bPosIsCenter; }
|
||||||
|
|
||||||
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
|
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
|
||||||
virtual OUString TakeObjNameSingul() const override;
|
virtual OUString TakeObjNameSingul() const override;
|
||||||
|
@@ -46,8 +46,8 @@ E3dCubeObj::E3dCubeObj(
|
|||||||
SetDefaultAttributes(rDefault);
|
SetDefaultAttributes(rDefault);
|
||||||
|
|
||||||
// position centre or left, bottom, back (dependent on bPosIsCenter)
|
// position centre or left, bottom, back (dependent on bPosIsCenter)
|
||||||
aCubePos = aPos;
|
m_aCubePos = aPos;
|
||||||
aCubeSize = r3DSize;
|
m_aCubeSize = r3DSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
E3dCubeObj::E3dCubeObj(SdrModel& rSdrModel)
|
E3dCubeObj::E3dCubeObj(SdrModel& rSdrModel)
|
||||||
@@ -67,9 +67,9 @@ E3dCubeObj::E3dCubeObj(SdrModel& rSdrModel, E3dCubeObj const & rSource)
|
|||||||
|
|
||||||
SetDefaultAttributes(aDefault);
|
SetDefaultAttributes(aDefault);
|
||||||
|
|
||||||
aCubePos = rSource.aCubePos;
|
m_aCubePos = rSource.m_aCubePos;
|
||||||
aCubeSize = rSource.aCubeSize;
|
m_aCubeSize = rSource.m_aCubeSize;
|
||||||
bPosIsCenter = rSource.bPosIsCenter;
|
m_bPosIsCenter = rSource.m_bPosIsCenter;
|
||||||
}
|
}
|
||||||
|
|
||||||
E3dCubeObj::~E3dCubeObj()
|
E3dCubeObj::~E3dCubeObj()
|
||||||
@@ -78,9 +78,9 @@ E3dCubeObj::~E3dCubeObj()
|
|||||||
|
|
||||||
void E3dCubeObj::SetDefaultAttributes(const E3dDefaultAttributes& rDefault)
|
void E3dCubeObj::SetDefaultAttributes(const E3dDefaultAttributes& rDefault)
|
||||||
{
|
{
|
||||||
aCubePos = rDefault.GetDefaultCubePos();
|
m_aCubePos = rDefault.GetDefaultCubePos();
|
||||||
aCubeSize = rDefault.GetDefaultCubeSize();
|
m_aCubeSize = rDefault.GetDefaultCubeSize();
|
||||||
bPosIsCenter = rDefault.GetDefaultCubePosIsCenter();
|
m_bPosIsCenter = rDefault.GetDefaultCubePosIsCenter();
|
||||||
}
|
}
|
||||||
|
|
||||||
SdrObjKind E3dCubeObj::GetObjIdentifier() const
|
SdrObjKind E3dCubeObj::GetObjIdentifier() const
|
||||||
@@ -104,27 +104,27 @@ rtl::Reference<SdrObject> E3dCubeObj::CloneSdrObject(SdrModel& rTargetModel) con
|
|||||||
|
|
||||||
void E3dCubeObj::SetCubePos(const basegfx::B3DPoint& rNew)
|
void E3dCubeObj::SetCubePos(const basegfx::B3DPoint& rNew)
|
||||||
{
|
{
|
||||||
if(aCubePos != rNew)
|
if(m_aCubePos != rNew)
|
||||||
{
|
{
|
||||||
aCubePos = rNew;
|
m_aCubePos = rNew;
|
||||||
ActionChanged();
|
ActionChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void E3dCubeObj::SetCubeSize(const basegfx::B3DVector& rNew)
|
void E3dCubeObj::SetCubeSize(const basegfx::B3DVector& rNew)
|
||||||
{
|
{
|
||||||
if(aCubeSize != rNew)
|
if(m_aCubeSize != rNew)
|
||||||
{
|
{
|
||||||
aCubeSize = rNew;
|
m_aCubeSize = rNew;
|
||||||
ActionChanged();
|
ActionChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void E3dCubeObj::SetPosIsCenter(bool bNew)
|
void E3dCubeObj::SetPosIsCenter(bool bNew)
|
||||||
{
|
{
|
||||||
if(bPosIsCenter != bNew)
|
if(m_bPosIsCenter != bNew)
|
||||||
{
|
{
|
||||||
bPosIsCenter = bNew;
|
m_bPosIsCenter = bNew;
|
||||||
ActionChanged();
|
ActionChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user