summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2024-07-15 08:22:27 +0200
committerMiklos Vajna <vmiklos@collabora.com>2024-07-15 09:59:06 +0200
commit3e1b67dabf585e04a34e82810387ae943b38ee41 (patch)
tree088e0fa332efed4c96377b6555b6a1f3630782a5
parent2e52ac48e58efa5f1204ac61eec820eb3fb561ba (diff)
svx: prefix members of SdrUndoObjOrdNum
See tdf#94879 for motivation. Change-Id: I0ab21ca5171b5d5b66542dbf7157db0c156e45b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170487 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--include/svx/svdundo.hxx4
-rw-r--r--svx/source/svdraw/svdundo.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index 95504986d1e1..8b172dec5d4e 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -373,8 +373,8 @@ public:
class SdrUndoObjOrdNum final : public SdrUndoObj
{
- sal_uInt32 nOldOrdNum;
- sal_uInt32 nNewOrdNum;
+ sal_uInt32 m_nOldOrdNum;
+ sal_uInt32 m_nNewOrdNum;
public:
SdrUndoObjOrdNum(SdrObject& rNewObj, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1);
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index b711a5f4398a..ea55c6cea40a 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -900,8 +900,8 @@ void SdrUndoObjectLayerChange::Redo()
SdrUndoObjOrdNum::SdrUndoObjOrdNum(SdrObject& rNewObj, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1)
: SdrUndoObj(rNewObj)
- , nOldOrdNum(nOldOrdNum1)
- , nNewOrdNum(nNewOrdNum1)
+ , m_nOldOrdNum(nOldOrdNum1)
+ , m_nNewOrdNum(nNewOrdNum1)
{
}
@@ -916,7 +916,7 @@ void SdrUndoObjOrdNum::Undo()
OSL_FAIL("UndoObjOrdNum: mxObj does not have an ObjList.");
return;
}
- pOL->SetObjectOrdNum(nNewOrdNum,nOldOrdNum);
+ pOL->SetObjectOrdNum(m_nNewOrdNum,m_nOldOrdNum);
}
void SdrUndoObjOrdNum::Redo()
@@ -927,7 +927,7 @@ void SdrUndoObjOrdNum::Redo()
OSL_FAIL("RedoObjOrdNum: mxObj does not have an ObjList.");
return;
}
- pOL->SetObjectOrdNum(nOldOrdNum,nNewOrdNum);
+ pOL->SetObjectOrdNum(m_nOldOrdNum,m_nNewOrdNum);
// Trigger PageChangeCall
ImpShowPageOfThisObject();