diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 10:21:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-04 11:36:12 +0100 |
commit | 08209f2b67cf84b96dd03c90d87bc2d8dad26c8c (patch) | |
tree | 56eed4a51eccc28c730e0570f334782e72a3b20d /starmath/source/view.cxx | |
parent | 9be88e7281aea0b4b65c9d0da85ca617f58b925c (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/source/view.cxx')
-rw-r--r-- | starmath/source/view.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 11c5b7148488..0a5ef6970b07 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1561,10 +1561,10 @@ void SmViewShell::Execute(SfxRequest& rReq) } - case SID_INSERTSYMBOL: + case SID_INSERTSPECIAL: { const SfxStringItem& rItem = - static_cast<const SfxStringItem&>(rReq.GetArgs()->Get(SID_INSERTSYMBOL)); + static_cast<const SfxStringItem&>(rReq.GetArgs()->Get(SID_INSERTSPECIAL)); if (pWin && (mbInsertIntoEditWindow || !IsInlineEditEnabled())) pWin->InsertText(rItem.GetValue()); |