include/svx/ctredlin.hxx | 10 +++++----- svx/source/dialog/ctredlin.cxx | 36 ++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 23 deletions(-)
New commits: commit 0857a999af86a178632dc699e4bd40d6cd960798 Author: Miklos Vajna <[email protected]> AuthorDate: Mon Nov 17 08:59:25 2025 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Mon Nov 17 10:14:34 2025 +0100 svx: prefix members of SvxTPFilter See tdf#94879 for motivation. Change-Id: Ic2368f78b95c08f267a2d6b790f90ef2604564cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194089 Tested-by: Jenkins Reviewed-by: Miklos Vajna <[email protected]> diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 995151596368..486cf30fcd62 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -155,10 +155,10 @@ namespace weld /// Tabpage with the filter text entries etc. class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxTPFilter final : public SvxTPage { - Link<SvxTPFilter*,void> aReadyLink; - Link<SvxTPFilter*,void> aRefLink; + Link<SvxTPFilter*,void> m_aReadyLink; + Link<SvxTPFilter*,void> m_aRefLink; - bool bModified; + bool m_bModified; SvxRedlinTable* m_pRedlinTable; std::unique_ptr<weld::CheckButton> m_xCbDate; @@ -245,11 +245,11 @@ public: weld::ComboBox* GetLbAction() { return m_xLbAction.get(); } - void SetReadyHdl( const Link<SvxTPFilter*,void>& rLink ) { aReadyLink= rLink; } + void SetReadyHdl( const Link<SvxTPFilter*,void>& rLink ) { m_aReadyLink= rLink; } // Methods for Calc { - void SetRefHdl( const Link<SvxTPFilter*,void>& rLink ) { aRefLink = rLink; } + void SetRefHdl( const Link<SvxTPFilter*,void>& rLink ) { m_aRefLink = rLink; } void Enable( bool bEnable = true ); // } Methods for Calc diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index 89c92dd6861a..5ea339f67711 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -477,7 +477,7 @@ SvxTPage::SvxTPage(weld::Container* pParent, const OUString& rUIXMLDescription, SvxTPFilter::SvxTPFilter(weld::Container* pParent) : SvxTPage(pParent, u"svx/ui/redlinefilterpage.ui"_ustr, u"RedlineFilterPage"_ustr) - , bModified(false) + , m_bModified(false) , m_pRedlinTable(nullptr) , m_xCbDate(m_xBuilder->weld_check_button(u"date"_ustr)) , m_xLbDate(m_xBuilder->weld_combo_box(u"datecond"_ustr)) @@ -543,7 +543,7 @@ SvxTPFilter::SvxTPFilter(weld::Container* pParent) SetLastTime(aDateTime); HideRange(); ShowAction(); - bModified=false; + m_bModified=false; } SvxTPFilter::~SvxTPFilter() @@ -737,35 +737,35 @@ void SvxTPFilter::CheckDate(bool bFlag) { m_xCbDate->set_active(bFlag); RowEnableHdl(*m_xCbDate); - bModified=false; + m_bModified=false; } void SvxTPFilter::CheckAuthor(bool bFlag) { m_xCbAuthor->set_active(bFlag); RowEnableHdl(*m_xCbAuthor); - bModified=false; + m_bModified=false; } void SvxTPFilter::CheckRange(bool bFlag) { m_xCbRange->set_active(bFlag); RowEnableHdl(*m_xCbRange); - bModified=false; + m_bModified=false; } void SvxTPFilter::CheckAction(bool bFlag) { m_xCbAction->set_active(bFlag); RowEnableHdl(*m_xCbAction); - bModified=false; + m_bModified=false; } void SvxTPFilter::CheckComment(bool bFlag) { m_xCbComment->set_active(bFlag); RowEnableHdl(*m_xCbComment); - bModified=false; + m_bModified=false; } void SvxTPFilter::ShowAction(bool bShow) @@ -811,7 +811,7 @@ IMPL_LINK_NOARG(SvxTPFilter, SelDateHdl, weld::ComboBox&, void) case SvxRedlinDateMode::NONE: break; } - bModified = true; + m_bModified = true; } IMPL_LINK(SvxTPFilter, RowEnableHdl, weld::Toggleable&, rCB, void) @@ -840,7 +840,7 @@ IMPL_LINK(SvxTPFilter, RowEnableHdl, weld::Toggleable&, rCB, void) { m_xEdComment->set_sensitive(m_xCbComment->get_active()); } - bModified = true; + m_bModified = true; } IMPL_LINK(SvxTPFilter, TimeHdl, weld::Button&, rIB, void) @@ -856,22 +856,22 @@ IMPL_LINK(SvxTPFilter, TimeHdl, weld::Button&, rIB, void) SetLastDate(aDateTime); SetLastTime(aDateTime); } - bModified=true; + m_bModified=true; } IMPL_LINK_NOARG(SvxTPFilter, ModifyHdl, weld::Entry&, void) { - bModified=true; + m_bModified=true; } IMPL_LINK_NOARG(SvxTPFilter, ModifyListBoxHdl, weld::ComboBox&, void) { - bModified=true; + m_bModified=true; } void SvxTPFilter::DeactivatePage() { - if(bModified) + if(m_bModified) { if (m_pRedlinTable) { @@ -894,9 +894,9 @@ void SvxTPFilter::DeactivatePage() m_pRedlinTable->UpdateFilterTest(); } - aReadyLink.Call(this); + m_aReadyLink.Call(this); } - bModified=false; + m_bModified=false; } void SvxTPFilter::Enable(bool bEnable) @@ -930,7 +930,7 @@ IMPL_LINK(SvxTPFilter, ModifyDate, SvtCalendarBox&, rTF, void) if (m_pRedlinTable) m_pRedlinTable->SetLastDate(m_xDfDate2->get_date()); } - bModified=true; + m_bModified=true; } IMPL_LINK(SvxTPFilter, ModifyTime, weld::FormattedSpinButton&, rTF, void) @@ -953,12 +953,12 @@ IMPL_LINK(SvxTPFilter, ModifyTime, weld::FormattedSpinButton&, rTF, void) m_pRedlinTable->SetLastTime(GetLastTime()); } - bModified=true; + m_bModified=true; } IMPL_LINK_NOARG(SvxTPFilter, RefHandle, weld::Button&, void) { - aRefLink.Call(this); + m_aRefLink.Call(this); } SvxAcceptChgCtr::SvxAcceptChgCtr(weld::Container* pParent)
