include/svx/graphctl.hxx | 6 +++--- svx/source/dialog/graphctl.cxx | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-)
New commits: commit 3238b0b0a1bad36071e6b2521b858bba6ff21517 Author: Miklos Vajna <[email protected]> AuthorDate: Mon Sep 22 08:29:55 2025 +0200 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Sep 22 09:30:54 2025 +0200 svx: prefix members of GraphCtrlView See tdf#94879 for motivation. Change-Id: I407003ea450fce845a8c1d9d17581fe04edec280 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191307 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx index 617386d32911..4a82c3f91b13 100644 --- a/include/svx/graphctl.hxx +++ b/include/svx/graphctl.hxx @@ -130,18 +130,18 @@ public: class GraphCtrlView final : public SdrView { - GraphCtrl& rGraphCtrl; + GraphCtrl& m_rGraphCtrl; virtual void MarkListHasChanged() override { SdrView::MarkListHasChanged(); - rGraphCtrl.MarkListHasChanged(); + m_rGraphCtrl.MarkListHasChanged(); } public: GraphCtrlView(SdrModel& rSdrModel, GraphCtrl* pWindow) : SdrView(rSdrModel, &pWindow->GetDrawingArea()->get_ref_device()) - , rGraphCtrl(*pWindow) + , m_rGraphCtrl(*pWindow) { } diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index be3df92d5831..2a37ca14b654 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -783,10 +783,10 @@ namespace rtl::Reference<sdr::overlay::OverlayManager> GraphCtrlView::CreateOverlayManager(OutputDevice& rDevice) const { - assert(&rDevice == &rGraphCtrl.GetDrawingArea()->get_ref_device()); + assert(&rDevice == &m_rGraphCtrl.GetDrawingArea()->get_ref_device()); if (rDevice.GetOutDevType() == OUTDEV_VIRDEV) { - rtl::Reference<sdr::overlay::OverlayManager> xOverlayManager(new WeldOverlayManager(rGraphCtrl, rDevice)); + rtl::Reference<sdr::overlay::OverlayManager> xOverlayManager(new WeldOverlayManager(m_rGraphCtrl, rDevice)); InitOverlayManager(xOverlayManager); return xOverlayManager; } @@ -795,10 +795,10 @@ rtl::Reference<sdr::overlay::OverlayManager> GraphCtrlView::CreateOverlayManager void GraphCtrlView::InvalidateOneWin(OutputDevice& rDevice) { - assert(&rDevice == &rGraphCtrl.GetDrawingArea()->get_ref_device()); + assert(&rDevice == &m_rGraphCtrl.GetDrawingArea()->get_ref_device()); if (rDevice.GetOutDevType() == OUTDEV_VIRDEV) { - rGraphCtrl.Invalidate(); + m_rGraphCtrl.Invalidate(); return; } SdrView::InvalidateOneWin(rDevice); @@ -806,10 +806,10 @@ void GraphCtrlView::InvalidateOneWin(OutputDevice& rDevice) void GraphCtrlView::InvalidateOneWin(OutputDevice& rDevice, const tools::Rectangle& rArea) { - assert(&rDevice == &rGraphCtrl.GetDrawingArea()->get_ref_device()); + assert(&rDevice == &m_rGraphCtrl.GetDrawingArea()->get_ref_device()); if (rDevice.GetOutDevType() == OUTDEV_VIRDEV) { - rGraphCtrl.Invalidate(rArea); + m_rGraphCtrl.Invalidate(rArea); return; } SdrView::InvalidateOneWin(rDevice, rArea);
