From 1bd9747a126a3e82b6093c2b4af3b3a74774a3e9 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Wed, 22 May 2024 13:18:27 +0200 Subject: tdf#161209 - Reverts WhatsNew/Welcome dialog dd889b290304b73f96a9a8e6e0f144d3aa2ba7e1 Change-Id: Idf0594c546e4d9ca263272ed1534b27948e8e930 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167956 Reviewed-by: Heiko Tietze Tested-by: Jenkins --- cui/source/factory/dlgfact.cxx | 14 -------------- cui/source/factory/dlgfact.hxx | 2 -- 2 files changed, 16 deletions(-) (limited to 'cui/source/factory') diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index afd9f41b1616..e3556334e6a3 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -24,7 +24,6 @@ #include "dlgfact.hxx" #include -#include #include #include #include @@ -1532,19 +1531,6 @@ AbstractDialogFactory_Impl::CreateAboutDialog(weld::Window* pParent) std::make_shared(pParent)); } -VclPtr -AbstractDialogFactory_Impl::CreateWhatsNewDialog(weld::Window* pParent, const bool bWelcome) -{ -#if !ENABLE_WASM_STRIP_PINGUSER - return VclPtr::Create( - std::make_shared(pParent, bWelcome)); -#else - (void) pParent; - (void) bWelcome; - return nullptr; -#endif -} - VclPtr AbstractDialogFactory_Impl::CreateTipOfTheDayDialog(weld::Window* pParent) { diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index a10837f6cd48..ca11ec7427dc 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -619,8 +619,6 @@ public: virtual VclPtr CreateAboutDialog(weld::Window* pParent) override; - virtual VclPtr CreateWhatsNewDialog(weld::Window* pParent, const bool bWelcome) override; - virtual VclPtr CreateTipOfTheDayDialog(weld::Window* pParent) override; virtual VclPtr CreateWidgetTestDialog(weld::Window* pParent) override; -- cgit