sd/source/ui/framework/tools/FrameworkHelper.cxx |    4 ++--
 sd/source/ui/inc/framework/FrameworkHelper.hxx   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a3c78bbee81a82bb50ed2b92944d9946348f73ad
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Feb 1 12:12:58 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Wed Feb 2 07:46:16 2022 +0100

    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.gran...@collabora.co.uk>

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)
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx 
b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index e86e9efe18b1..c9bf981bb2a6 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -191,7 +191,7 @@ public:
     /** Process a slot call that requests a view shell change.
     */
     void HandleModeChangeSlot (
-        sal_uLong nSlotId,
+        sal_uInt16 nSlotId,
         SfxRequest const & rRequest);
 
     /** Run the given callback when the specified event is notified by the

Reply via email to