summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/cellsh2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 12:20:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 21:15:43 +0200
commita4d4445e698b78ec0c2eb61a685869bd1d8bfd85 (patch)
tree339b05f94646ec606c7227cfb2fc15a553e92ad8 /sc/source/ui/view/cellsh2.cxx
parent370533da3f07169791c0a17013ca55c57df2f3c9 (diff)
use more TypedWhichId
Change-Id: Iaa7ce9165da835a638bcc1d633bed0a2ff2c4108 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152308 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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index 3be0428bbc2b..71bcd6cac315 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -551,21 +551,21 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
aRequest.AppendItem( SfxUInt16Item( SID_SORT_USERDEF, nUser ) );
if ( rOutParam.maKeyState[0].bDoSort )
{
- aRequest.AppendItem( SfxInt32Item( FN_PARAM_1,
+ aRequest.AppendItem( SfxInt32Item( TypedWhichId<SfxInt32Item>(FN_PARAM_1),
rOutParam.maKeyState[0].nField + 1 ) );
aRequest.AppendItem( SfxBoolItem( FN_PARAM_2,
rOutParam.maKeyState[0].bAscending ) );
}
if ( rOutParam.maKeyState[1].bDoSort )
{
- aRequest.AppendItem( SfxInt32Item( FN_PARAM_3,
+ aRequest.AppendItem( SfxInt32Item( TypedWhichId<SfxInt32Item>(FN_PARAM_3),
rOutParam.maKeyState[1].nField + 1 ) );
aRequest.AppendItem( SfxBoolItem( FN_PARAM_4,
rOutParam.maKeyState[1].bAscending ) );
}
if ( rOutParam.maKeyState[2].bDoSort )
{
- aRequest.AppendItem( SfxInt32Item( FN_PARAM_5,
+ aRequest.AppendItem( SfxInt32Item( TypedWhichId<SfxInt32Item>(FN_PARAM_5),
rOutParam.maKeyState[2].nField + 1 ) );
aRequest.AppendItem( SfxBoolItem( FN_PARAM_6,
rOutParam.maKeyState[2].bAscending ) );