summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-05-25 19:16:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-05-26 11:18:07 +0200
commit2d6dff8d9837c66d5961ea74921306110b9d747b (patch)
tree1f567253ed3f4169d3a5eecb424952d05b03a9d4 /starmath
parentd1b0dbcbd7016fea59b4a509d95045f643b9eeec (diff)
use more TypedWhichId
Change-Id: Icc1cbd2717034c87bdaea1b62253b001243c6652 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152290 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/starmath.hrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index ac82d0889814..378aca8bc838 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -22,6 +22,7 @@
#include <svl/solar.hrc>
class SfxBoolItem;
+class SfxInt16Item;
class SfxUInt16Item;
#define SID_NEXTERR (SID_SMA_START + 1)
@@ -43,7 +44,7 @@ class SfxUInt16Item;
#define SID_IMPORT_FORMULA (SID_SMA_START + 58)
#define SID_IMPORT_MATHML_CLIPBOARD (SID_SMA_START + 59)
#define SID_TEXT TypedWhichId<SfxStringItem>(SID_SMA_START + 100)
-#define SID_GRAPHIC_SM (SID_SMA_START + 101)
+#define SID_GRAPHIC_SM TypedWhichId<SfxInt16Item>(SID_SMA_START + 101)
/** Command for inserting a symbol specified by a string (Inserts an SmSpecialNode) */
#define SID_INSERTSPECIAL TypedWhichId<SfxStringItem>(SID_SMA_START + 104)
/** Command for inserting a math construction */