diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-09 15:57:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-10 09:47:46 +0100 |
commit | 1c0aa970650ffc7c749e0b5ea655ebb2d137c8ae (patch) | |
tree | 9e119ca2556f5e05d21ced0874abe1e7562cffdb /sc/source/ui/dbgui | |
parent | 3e340d3f7b73c8577e58c561a34c2b826e77da51 (diff) |
add more TypedWhichId
Change-Id: I6401dcf2507ac53a71dbe4de4ba774aed905961e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129731
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/tpsort.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/tpsort.cxx b/sc/source/ui/dbgui/tpsort.cxx index 4a662e4fad56..dfdce8fd51b9 100644 --- a/sc/source/ui/dbgui/tpsort.cxx +++ b/sc/source/ui/dbgui/tpsort.cxx @@ -276,7 +276,7 @@ bool ScTabPageSortFields::FillItemSet( SfxItemSet* rArgSet ) void ScTabPageSortFields::ActivatePage( const SfxItemSet& rSet ) { // Refresh local copy with shared data - aSortData = static_cast<const ScSortItem&>(rSet.Get( SCITEM_SORTDATA )).GetSortData(); + aSortData = rSet.Get( SCITEM_SORTDATA ).GetSortData(); ScSortDlg* pDlg = static_cast<ScSortDlg*>(GetDialogController()); if (!pDlg) return; @@ -706,7 +706,7 @@ bool ScTabPageSortOptions::FillItemSet( SfxItemSet* rArgSet ) void ScTabPageSortOptions::ActivatePage( const SfxItemSet& rSet ) { // Refresh local copy with shared data - aSortData = static_cast<const ScSortItem&>(rSet.Get( SCITEM_SORTDATA )).GetSortData(); + aSortData = rSet.Get( SCITEM_SORTDATA ).GetSortData(); ScSortDlg* pDlg = static_cast<ScSortDlg*>(GetDialogController()); if (!pDlg) return; |