cui/source/inc/numpages.hxx | 1 + cui/source/tabpages/numpages.cxx | 3 +++ 2 files changed, 4 insertions(+)
New commits: commit bc52d005d9b80327378b85d12c3f21887474df8a Author: Heiko Tietze <tietze.he...@gmail.com> AuthorDate: Fri Sep 19 10:00:03 2025 +0200 Commit: Heiko Tietze <heiko.tie...@documentfoundation.org> CommitDate: Tue Sep 23 14:34:15 2025 +0200 Suppress "SfxTabPage::PageCreated should not be called" warning Follow-up to 83ccb2bba3fdbdd0b0ec3c2ca6609b5a11c36aee Change-Id: Iadec2ec78843738f15ffb071ac63272a4e0ed1cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191180 Reviewed-by: Heiko Tietze <heiko.tie...@documentfoundation.org> Tested-by: Jenkins diff --git a/cui/source/inc/numpages.hxx b/cui/source/inc/numpages.hxx index 6d9c97b65e99..2c82a6eece90 100644 --- a/cui/source/inc/numpages.hxx +++ b/cui/source/inc/numpages.hxx @@ -82,6 +82,7 @@ public: virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override; virtual bool FillItemSet( SfxItemSet* rSet ) override; virtual void Reset( const SfxItemSet* rSet ) override; + virtual void PageCreated(const SfxAllItemSet& aSet) override; }; class SvxBulletPickTabPage final : public SfxTabPage diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx index 2018311f7cbe..2624c7abd417 100644 --- a/cui/source/tabpages/numpages.cxx +++ b/cui/source/tabpages/numpages.cxx @@ -282,6 +282,9 @@ void SvxSingleNumPickTabPage::Reset( const SfxItemSet* rSet ) *pActNum = *pSaveNum; } +void SvxSingleNumPickTabPage::PageCreated(const SfxAllItemSet& /*aSet*/) +{} + IMPL_LINK_NOARG(SvxSingleNumPickTabPage, NumSelectHdl_Impl, ValueSet*, void) { if(!pActNum)