include/svx/numvset.hxx | 4 ++-- svx/source/dialog/svxbmpnumvalueset.cxx | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-)
New commits: commit bbfb54d6c00a00ded47d2721b53a486cbaf023dd Author: Miklos Vajna <[email protected]> AuthorDate: Fri Oct 31 08:24:42 2025 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Oct 31 09:37:16 2025 +0100 svx: prefix members of SvxBmpNumValueSet See tdf#94879 for motivation. Change-Id: I1d2b6a077d9722e90ba02f5e60fdffda98032c99 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193237 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index d54ad8f17a19..1ecfe9e180b8 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -96,8 +96,8 @@ public: class SVX_DLLPUBLIC SvxBmpNumValueSet final : public SvxNumValueSet { - Idle aFormatIdle; - bool bGrfNotFound; + Idle m_aFormatIdle; + bool m_bGrfNotFound; DECL_DLLPRIVATE_LINK(FormatHdl_Impl, Timer *, void); diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index ed2e9bfaf80a..d089ae095fb0 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -470,27 +470,27 @@ void SvxNumValueSet::SetCustomBullets(const std::vector<std::pair<OUString, OUSt SvxBmpNumValueSet::SvxBmpNumValueSet(std::unique_ptr<weld::ScrolledWindow> pScrolledWindow) : SvxNumValueSet(std::move(pScrolledWindow)) - , aFormatIdle("SvxBmpNumValueSet FormatIdle") - , bGrfNotFound(false) + , m_aFormatIdle("SvxBmpNumValueSet FormatIdle") + , m_bGrfNotFound(false) { } void SvxBmpNumValueSet::init() { SvxNumValueSet::init(NumberingPageType::BITMAP); - bGrfNotFound = false; + m_bGrfNotFound = false; GalleryExplorer::BeginLocking(GALLERY_THEME_BULLETS); SetStyle( GetStyle() | WB_VSCROLL ); SetLineCount( 3 ); - aFormatIdle.SetPriority(TaskPriority::LOWEST); - aFormatIdle.SetInvokeHandler(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl)); + m_aFormatIdle.SetPriority(TaskPriority::LOWEST); + m_aFormatIdle.SetInvokeHandler(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl)); } SvxBmpNumValueSet::~SvxBmpNumValueSet() { GalleryExplorer::EndLocking(GALLERY_THEME_BULLETS); - aFormatIdle.Stop(); + m_aFormatIdle.Stop(); } void SvxBmpNumValueSet::UserDraw(const UserDrawEvent& rUDEvt) @@ -509,7 +509,7 @@ void SvxBmpNumValueSet::UserDraw(const UserDrawEvent& rUDEvt) if(!GalleryExplorer::GetGraphicObj( GALLERY_THEME_BULLETS, nItemId - 1, &aGraphic)) { - bGrfNotFound = true; + m_bGrfNotFound = true; } else { @@ -526,10 +526,10 @@ void SvxBmpNumValueSet::UserDraw(const UserDrawEvent& rUDEvt) IMPL_LINK_NOARG(SvxBmpNumValueSet, FormatHdl_Impl, Timer *, void) { // only when a graphics was not there, it needs to be formatted - if (bGrfNotFound) + if (m_bGrfNotFound) { SetFormat(); - bGrfNotFound = false; + m_bGrfNotFound = false; } Invalidate(); }
