diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-27 14:56:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-27 20:05:46 +0100 |
commit | 12be8dadfad2167ff4317935d30782626afa3eaf (patch) | |
tree | eb04c03fa883c953e7464fa9f67577611d21ddef /desktop | |
parent | 0e570fafd319c6567d798ff9e5530099c53312ee (diff) |
no need to call GetWhich on these SID_ values
none of them are remapped (via the SfxItemEntryInfo stuff in the pool)
Change-Id: Ic7b5f2c3cc75a65bdf9c45f9522cc53954b4ba38
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129040
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index ada608229f8b..f7e9a8ec8930 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -288,7 +288,7 @@ bool shouldLaunchQuickstart() { const SfxPoolItem* pItem=nullptr; SfxItemSetFixed<SID_ATTR_QUICKLAUNCHER, SID_ATTR_QUICKLAUNCHER> aQLSet(SfxGetpApp()->GetPool()); - SfxGetpApp()->GetOptions(aQLSet); + SfxApplication::GetOptions(aQLSet); SfxItemState eState = aQLSet.GetItemState(SID_ATTR_QUICKLAUNCHER, false, &pItem); if (SfxItemState::SET == eState) bQuickstart = static_cast<const SfxBoolItem*>(pItem)->GetValue(); |