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 /sc/source/ui/view/cellsh2.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 'sc/source/ui/view/cellsh2.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh2.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx index b1ddf40c9598..3be0428bbc2b 100644 --- a/sc/source/ui/view/cellsh2.cxx +++ b/sc/source/ui/view/cellsh2.cxx @@ -735,8 +735,7 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq ) { if ( pReqArgs ) { - const SfxStringItem& rItem - = static_cast<const SfxStringItem&>(pReqArgs->Get(SID_SELECT_DB)); + const SfxStringItem& rItem = pReqArgs->Get(SID_SELECT_DB); pTabViewShell->GotoDBArea(rItem.GetValue()); rReq.Done(); } |