diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-25 11:30:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-05-25 20:14:03 +0200 |
commit | ea63b3d25a7c83773721f8ba6bf6d00c059d44fe (patch) | |
tree | 5b6ba1cf938f436489c391dda6ae3308d47c5c1c /sd/source/ui/func/fuprobjs.cxx | |
parent | 3ec8822b62d647379999b4c09f3e72b9474b61a3 (diff) |
use more TypedWhichId
Change-Id: I6c54c1276b36cbc71417486ffcee2ef9ef0cff7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152270
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func/fuprobjs.cxx')
-rw-r--r-- | sd/source/ui/func/fuprobjs.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx index 6042d1fbc881..32ec8f890b73 100644 --- a/sd/source/ui/func/fuprobjs.cxx +++ b/sd/source/ui/func/fuprobjs.cxx @@ -73,7 +73,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& ) if not, it is not allowed to edit the templates */ SfxItemSetFixed<SID_STATUS_LAYOUT, SID_STATUS_LAYOUT> aSet(mpDoc->GetItemPool() ); pOutlineViewShell->GetStatusBarState( aSet ); - OUString aLayoutName = static_cast<const SfxStringItem&>(aSet.Get(SID_STATUS_LAYOUT)).GetValue(); + OUString aLayoutName = aSet.Get(SID_STATUS_LAYOUT).GetValue(); DBG_ASSERT(!aLayoutName.isEmpty(), "Layout not defined"); bool bUnique = false; |