diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-04-05 18:07:52 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-04-07 08:28:52 +0000 |
commit | 359ff94950bc11c31685a6ca6280d4230b9e2f1b (patch) | |
tree | 52890a83bbe6989504f2bee093f78b5233c40495 /sfx2 | |
parent | d78040aadb6a8e3eeee1652b62a06d6e7e9b28ce (diff) |
Drop remains of the Welcome Screen feature
Which was dropped in e299ef4952a580bdbd416cef3e1a2feba4979e13
(that was in 2001)
Change-Id: I5860bb44ced35b338f667e47d89f6ed1d597dc11
Reviewed-on: https://gerrit.libreoffice.org/36159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appcfg.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx index 873c1c5a4539..1c3cdc82aeca 100644 --- a/sfx2/source/appl/appcfg.cxx +++ b/sfx2/source/appl/appcfg.cxx @@ -247,11 +247,6 @@ void SfxApplication::GetOptions( SfxItemSet& rSet ) aHelpOptions.IsHelpTips() ) ) ) bRet = true; break; - case SID_ATTR_WELCOMESCREEN : - if(rSet.Put( SfxBoolItem ( rPool.GetWhich( SID_ATTR_WELCOMESCREEN ), - aHelpOptions.IsWelcomeScreen() ) ) ) - bRet = true; - break; case SID_HELP_STYLESHEET : if(rSet.Put( SfxStringItem ( rPool.GetWhich( SID_HELP_STYLESHEET ), aHelpOptions.GetHelpStyleSheet() ) ) ) @@ -593,13 +588,6 @@ void SfxApplication::SetOptions_Impl( const SfxItemSet& rSet ) aHelpOptions.SetHelpTips( static_cast<const SfxBoolItem *>(pItem)->GetValue()); } - // WelcomeScreen - if ( SfxItemState::SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_WELCOMESCREEN ), true, &pItem)) - { - DBG_ASSERT(dynamic_cast< const SfxBoolItem *>( pItem ) != nullptr, "BoolItem expected"); - aHelpOptions.SetWelcomeScreen( static_cast<const SfxBoolItem *>(pItem)->GetValue() ); - } - if ( SfxItemState::SET == rSet.GetItemState(rPool.GetWhich(SID_HELP_STYLESHEET ), true, &pItem)) { DBG_ASSERT(dynamic_cast< const SfxStringItem *>( pItem ) != nullptr, "StringItem expected"); |