summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-01 12:12:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-02 07:46:16 +0100
commita3c78bbee81a82bb50ed2b92944d9946348f73ad (patch)
tree2d727d97db71263c85acfc4b37bb85f9bc44859a /sd/source/ui/framework
parent65d2c9ca4d930bd9352e0b51f45e163cf4393241 (diff)
sal_uLong -> sal_uInt16 slot id
Change-Id: I312844466157a4029f6744a4b13306903229c51b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129276 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/framework')
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index 20ee30f040ba..dceecd5102a7 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -508,7 +508,7 @@ void asyncUpdateEditMode(FrameworkHelper* const pHelper, const EditMode eEMode)
}
void FrameworkHelper::HandleModeChangeSlot (
- sal_uLong nSlotId,
+ sal_uInt16 nSlotId,
SfxRequest const & rRequest)
{
if ( ! mxConfigurationController.is())
@@ -522,7 +522,7 @@ void FrameworkHelper::HandleModeChangeSlot (
const SfxItemSet* pRequestArguments = rRequest.GetArgs();
if (pRequestArguments)
{
- const SfxBoolItem* pIsActive = rRequest.GetArg<SfxBoolItem>(static_cast<sal_uInt16>(nSlotId));
+ const SfxBoolItem* pIsActive = rRequest.GetArg<SfxBoolItem>(nSlotId);
if (!pIsActive->GetValue ())
{
if (nSlotId == SID_NOTES_MASTER_MODE)