diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-06-24 08:58:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-06-24 16:47:04 +0200 |
commit | 23f7ef1c6d06262d1557f8978b48c5275b3d9585 (patch) | |
tree | 16023c122af4f0bbf9cf3051c3342ea92b900364 | |
parent | 6670727bbbe26e6b2b9bf9b93fb85bf2b2b1aca6 (diff) |
svx: prefix members of SdrUndoMoveObj
See tdf#94879 for motivation.
Change-Id: If81831d76617da9b9d6ac5aef2e223065e939c4a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169446
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | include/svx/svdundo.hxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index 743afaced0e3..95504986d1e1 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -188,10 +188,10 @@ public: class SVXCORE_DLLPUBLIC SdrUndoMoveObj final : public SdrUndoObj { - Size aDistance; // Distance by which we move + Size m_aDistance; // Distance by which we move public: - SdrUndoMoveObj(SdrObject& rNewObj, const Size& rDist): SdrUndoObj(rNewObj),aDistance(rDist) {} + SdrUndoMoveObj(SdrObject& rNewObj, const Size& rDist): SdrUndoObj(rNewObj),m_aDistance(rDist) {} virtual ~SdrUndoMoveObj() override; virtual void Undo() override; diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index defe2b362f79..b711a5f4398a 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -521,12 +521,12 @@ void SdrUndoMoveObj::Undo() // Trigger PageChangeCall ImpShowPageOfThisObject(); - mxObj->Move(Size(-aDistance.Width(),-aDistance.Height())); + mxObj->Move(Size(-m_aDistance.Width(),-m_aDistance.Height())); } void SdrUndoMoveObj::Redo() { - mxObj->Move(Size(aDistance.Width(),aDistance.Height())); + mxObj->Move(Size(m_aDistance.Width(),m_aDistance.Height())); // Trigger PageChangeCall ImpShowPageOfThisObject(); @@ -539,7 +539,7 @@ OUString SdrUndoMoveObj::GetComment() const void SdrUndoMoveObj::SdrRepeat(SdrView& rView) { - rView.MoveMarkedObj(aDistance); + rView.MoveMarkedObj(m_aDistance); } bool SdrUndoMoveObj::CanSdrRepeat(SdrView& rView) const |