summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-03-02 16:09:49 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-03-03 01:50:59 +0000
commitdabcb80966a25b9f092d7ffd4feef0e7e4a2caab (patch)
treeb6a6f0f653eca6ed2ce7ccd531aa6605a31eb82a /starmath/inc
parentcedac0b9b0e4e10ad6ca468a804855c35fd52477 (diff)
starmath: Replace SmParseError::FuncExpected with assertion
Change-Id: I7d1089fd615ac09a6e59c06c094f79364510b290 Reviewed-on: https://gerrit.libreoffice.org/34800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/error.hxx1
-rw-r--r--starmath/inc/starmath.hrc3
2 files changed, 1 insertions, 3 deletions
diff --git a/starmath/inc/error.hxx b/starmath/inc/error.hxx
index aff5faf16af0..a05123d6e080 100644
--- a/starmath/inc/error.hxx
+++ b/starmath/inc/error.hxx
@@ -28,7 +28,6 @@ enum class SmParseError
None,
UnexpectedChar,
UnexpectedToken,
- FuncExpected,
PoundExpected,
ColorExpected,
LgroupExpected,
diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc
index 508ad287f4bc..3eba1d440647 100644
--- a/starmath/inc/starmath.hrc
+++ b/starmath/inc/starmath.hrc
@@ -132,8 +132,7 @@
#define RID_ERR_RGROUPEXPECTED (RID_APP_START + 924)
#define RID_ERR_LBRACEEXPECTED (RID_APP_START + 925)
#define RID_ERR_RBRACEEXPECTED (RID_APP_START + 926)
-#define RID_ERR_FUNCEXPECTED (RID_APP_START + 927)
-// blank: 928 - 931
+// blank: 927 - 931
#define RID_ERR_POUNDEXPECTED (RID_APP_START + 932)
#define RID_ERR_COLOREXPECTED (RID_APP_START + 933)
#define RID_ERR_LPARENTEXPECTED (RID_APP_START + 934)