diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-08-14 08:01:52 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-08-14 10:05:50 +0200 |
commit | b8374587db8952b8353e815f1e6f3d37b2fe03a1 (patch) | |
tree | 2af135e81dabefebf17cff004617309349d8898d | |
parent | 437412d79b6b628ab28f15ccdc7aa95fc84cb3c1 (diff) |
svx: prefix members of SdrUndoSetPageNum
See tdf#94879 for motivation.
Change-Id: I4231a19a562ede125f0f1819cbb224935a20c801
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171844
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
-rw-r--r-- | include/svx/svdundo.hxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx index c0154665c288..d73dbfd728da 100644 --- a/include/svx/svdundo.hxx +++ b/include/svx/svdundo.hxx @@ -657,12 +657,12 @@ public: class SdrUndoSetPageNum final : public SdrUndoPage { - sal_uInt16 nOldPageNum; - sal_uInt16 nNewPageNum; + sal_uInt16 m_nOldPageNum; + sal_uInt16 m_nNewPageNum; public: SdrUndoSetPageNum(SdrPage& rNewPg, sal_uInt16 nOldPageNum1, sal_uInt16 nNewPageNum1) - : SdrUndoPage(rNewPg),nOldPageNum(nOldPageNum1),nNewPageNum(nNewPageNum1) {} + : SdrUndoPage(rNewPg),m_nOldPageNum(nOldPageNum1),m_nNewPageNum(nNewPageNum1) {} virtual void Undo() override; virtual void Redo() override; diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 71dcfde35fbb..cac255f88603 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -1559,12 +1559,12 @@ bool SdrUndoCopyPage::CanSdrRepeat(SdrView& /*rView*/) const void SdrUndoSetPageNum::Undo() { - ImpMovePage(nNewPageNum,nOldPageNum); + ImpMovePage(m_nNewPageNum,m_nOldPageNum); } void SdrUndoSetPageNum::Redo() { - ImpMovePage(nOldPageNum,nNewPageNum); + ImpMovePage(m_nOldPageNum,m_nNewPageNum); } OUString SdrUndoSetPageNum::GetComment() const |