summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-01 08:55:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-01 09:12:45 +0100
commitf1bf33a26b20a2fd0aa941cce5ad40e3737e0eb4 (patch)
tree663edef3f2b66ce62615baf382fd5f339fe052a4 /starmath/inc
parentf8238187bad40d0a4b8eccbae9f99eca4aa10f7a (diff)
use SfxItemSet::GetItemIfSet in starmath
Change-Id: Iaef2a2c507acfdabc6280e6cc8179319ea9d8a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130735 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/starmath.hrc25
1 files changed, 14 insertions, 11 deletions
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index c566783156ca..83c17c94da09 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -21,6 +21,9 @@
#include <svl/solar.hrc>
+class SfxBoolItem;
+class SfxUInt16Item;
+
#define SID_NEXTERR (SID_SMA_START + 1)
#define SID_PREVERR (SID_SMA_START + 2)
#define SID_NEXTMARK (SID_SMA_START + 3)
@@ -51,23 +54,23 @@
#define SID_MODIFYSTATUS (SID_SMA_START + 110)
#define SID_TEXTSTATUS (SID_SMA_START + 111)
-#define SID_PRINTTITLE (SID_SMA_START + 112)
-#define SID_PRINTTEXT (SID_SMA_START + 113)
-#define SID_PRINTFRAME (SID_SMA_START + 114)
-#define SID_PRINTSIZE (SID_SMA_START + 115)
-#define SID_PRINTZOOM (SID_SMA_START + 116)
+#define SID_PRINTTITLE TypedWhichId<SfxBoolItem>(SID_SMA_START + 112)
+#define SID_PRINTTEXT TypedWhichId<SfxBoolItem>(SID_SMA_START + 113)
+#define SID_PRINTFRAME TypedWhichId<SfxBoolItem>(SID_SMA_START + 114)
+#define SID_PRINTSIZE TypedWhichId<SfxUInt16Item>(SID_SMA_START + 115)
+#define SID_PRINTZOOM TypedWhichId<SfxUInt16Item>(SID_SMA_START + 116)
#define SID_COPYOBJECT (SID_SMA_START + 117)
#define SID_PASTEOBJECT (SID_SMA_START + 118)
-#define SID_AUTOREDRAW (SID_SMA_START + 119)
+#define SID_AUTOREDRAW TypedWhichId<SfxBoolItem>(SID_SMA_START + 119)
#define SID_GETEDITTEXT (SID_SMA_START + 121)
#define SID_CMDBOXWINDOW (SID_SMA_START + 122)
-#define SID_NO_RIGHT_SPACES (SID_SMA_START + 124)
-#define SID_SAVE_ONLY_USED_SYMBOLS (SID_SMA_START + 125)
+#define SID_NO_RIGHT_SPACES TypedWhichId<SfxBoolItem>(SID_SMA_START + 124)
+#define SID_SAVE_ONLY_USED_SYMBOLS TypedWhichId<SfxBoolItem>(SID_SMA_START + 125)
#define SID_ELEMENTSDOCKINGWINDOW (SID_SMA_START + 126)
-#define SID_AUTO_CLOSE_BRACKETS (SID_SMA_START + 127)
-#define SID_SMEDITWINDOWZOOM (SID_SMA_START + 129)
-#define SID_DEFAULT_SM_SYNTAX_VERSION (SID_SMA_START + 130)
+#define SID_AUTO_CLOSE_BRACKETS TypedWhichId<SfxBoolItem>(SID_SMA_START + 127)
+#define SID_SMEDITWINDOWZOOM TypedWhichId<SfxUInt16Item>(SID_SMA_START + 129)
+#define SID_DEFAULT_SM_SYNTAX_VERSION TypedWhichId<SfxUInt16Item>(SID_SMA_START + 130)
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */