include/svx/optgrid.hxx | 2 +- svx/source/dialog/optgrid.cxx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-)
New commits: commit b4f8a7da851147740a00c6ebd789b097c739a64e Author: Miklos Vajna <[email protected]> AuthorDate: Mon Feb 16 08:48:01 2026 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Feb 16 09:39:32 2026 +0100 svx: prefix members of SvxGridTabPage See tdf#94879 for motivation. Change-Id: Ic3397ecc7d535b2ee44467f8dae41ba99de84507 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199446 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins diff --git a/include/svx/optgrid.hxx b/include/svx/optgrid.hxx index 85c72b1c7d23..6bac125d9496 100644 --- a/include/svx/optgrid.hxx +++ b/include/svx/optgrid.hxx @@ -104,7 +104,7 @@ private: DRAW_MODE = 3, HTML_MODE = 4 }; - bool bAttrModified; + bool m_bAttrModified; ModuleMode m_Emode; std::unique_ptr<weld::CheckButton> m_xCbxUseGridsnap; diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx index dd963e40294c..72de459b22ba 100644 --- a/svx/source/dialog/optgrid.cxx +++ b/svx/source/dialog/optgrid.cxx @@ -103,7 +103,7 @@ bool SvxGridItem::GetPresentation // TabPage Screen Settings SvxGridTabPage::SvxGridTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rCoreSet) : SfxTabPage(pPage, pController, u"svx/ui/optgridpage.ui"_ustr, u"OptGridPage"_ustr, &rCoreSet) - , bAttrModified(false) + , m_bAttrModified(false) , m_Emode(WRITER_MODE) , m_xCbxUseGridsnap(m_xBuilder->weld_check_button(u"usegridsnap"_ustr)) , m_xCbxUseGridsnapImg(m_xBuilder->weld_widget(u"lockusegridsnap"_ustr)) @@ -234,7 +234,7 @@ OUString SvxGridTabPage::GetAllStrings() bool SvxGridTabPage::FillItemSet( SfxItemSet* rCoreSet ) { - if ( bAttrModified ) + if ( m_bAttrModified ) { SvxGridItem aGridItem( SID_ATTR_GRID_OPTIONS ); @@ -253,7 +253,7 @@ bool SvxGridTabPage::FillItemSet( SfxItemSet* rCoreSet ) rCoreSet->Put( aGridItem ); } - return bAttrModified; + return m_bAttrModified; } void SvxGridTabPage::Reset( const SfxItemSet* rSet ) @@ -409,7 +409,7 @@ void SvxGridTabPage::Reset( const SfxItemSet* rSet ) } ChangeGridsnapHdl_Impl(*m_xCbxUseGridsnap); - bAttrModified = false; + m_bAttrModified = false; } void SvxGridTabPage::ActivatePage( const SfxItemSet& rSet ) @@ -460,7 +460,7 @@ DeactivateRC SvxGridTabPage::DeactivatePage( SfxItemSet* _pSet ) IMPL_LINK(SvxGridTabPage, ChangeDrawHdl_Impl, weld::MetricSpinButton&, rField, void) { - bAttrModified = true; + m_bAttrModified = true; if (m_xCbxSynchronize->get_active()) { if (&rField == m_xMtrFldDrawX.get()) @@ -484,7 +484,7 @@ IMPL_LINK_NOARG(SvxGridTabPage, ClickRotateHdl_Impl, weld::Toggleable&, void) IMPL_LINK(SvxGridTabPage, ChangeDivisionHdl_Impl, weld::SpinButton&, rField, void) { - bAttrModified = true; + m_bAttrModified = true; if (m_xCbxSynchronize->get_active()) { if (m_xNumFldDivisionX.get() == &rField) @@ -496,7 +496,7 @@ IMPL_LINK(SvxGridTabPage, ChangeDivisionHdl_Impl, weld::SpinButton&, rField, voi IMPL_LINK_NOARG(SvxGridTabPage, ChangeGridsnapHdl_Impl, weld::Toggleable&, void) { - bAttrModified = true; + m_bAttrModified = true; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
