Fix warning C4838 when building with MSVC without -Wv:18
Discovered by https://gerrit.libreoffice.org/c/core/+/163717
Like these:
C:/lo/core/svx/source/form/fmshimp.cxx(138): warning C4838: conversion from 'TypedWhichId<SfxBoolItem>' to 'const sal_Int16' requires a narrowing conversion
Change-Id: If5ab7dc19ae936ca39f151a9fc775c83589981f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163780
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx
index 5343497..e55d01e 100644
--- a/svx/source/form/fmshimp.cxx
+++ b/svx/source/form/fmshimp.cxx
@@ -133,7 +133,7 @@ const sal_uInt16 DatabaseSlotMap[] =
// is used for Invalidate -> maintain it as well
// sort ascending !!!!!!
const sal_Int16 DlgSlotMap[] = // slots of the controller
const sal_uInt16 DlgSlotMap[] = // slots of the controller
{
SID_FM_CTL_PROPERTIES,
SID_FM_PROPERTIES,
@@ -149,7 +149,7 @@ const sal_Int16 DlgSlotMap[] = // slots of the controller
0
};
const sal_Int16 SelObjectSlotMap[] = // slots depending on the SelObject
const sal_uInt16 SelObjectSlotMap[] = // slots depending on the SelObject
{
SID_FM_CONVERTTO_EDIT,
SID_FM_CONVERTTO_BUTTON,