summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 10:21:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 11:36:12 +0100
commit08209f2b67cf84b96dd03c90d87bc2d8dad26c8c (patch)
tree56eed4a51eccc28c730e0570f334782e72a3b20d /starmath/inc
parent9be88e7281aea0b4b65c9d0da85ca617f58b925c (diff)
de-duplicate some defines in hrc files
and rename SID_INSERTSYMBOL -> SID_INSERTSPECIAL in starmath to make it unique Change-Id: I0eeefe25e0e9374871c73793a31cb3e6cc445f73 Reviewed-on: https://gerrit.libreoffice.org/47369 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/starmath.hrc2
-rw-r--r--starmath/inc/view.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index bbe606badee7..6f07991c54b5 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -45,7 +45,7 @@
#define SID_TEXT (SID_SMA_START + 100)
#define SID_GAPHIC_SM (SID_SMA_START + 101)
/** Command for inserting a symbol specified by a string (Inserts an SmSpecialNode) */
-#define SID_INSERTSYMBOL (SID_SMA_START + 104)
+#define SID_INSERTSPECIAL (SID_SMA_START + 104)
/** Command for inserting a math construction */
#define SID_INSERTCOMMANDTEXT (SID_SMA_START + 106)
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index ceecb0718ed2..e530b47d839f 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -223,7 +223,7 @@ class SmViewShell: public SfxViewShell
DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void );
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
- /** Used to determine whether insertions using SID_INSERTSYMBOL and SID_INSERTCOMMANDTEXT
+ /** Used to determine whether insertions using SID_INSERTSPECIAL and SID_INSERTCOMMANDTEXT
* should be inserted into SmEditWindow or directly into the SmDocShell as done if the
* visual editor was last to have focus.
*/