diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-01 16:23:48 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-03-02 01:55:43 +0000 |
commit | a5c947579253a7f4e784004e18929af5ab22fa28 (patch) | |
tree | 49fdef0bc27ba15b94ed5ebd799f8aeda208b3a2 /starmath/inc | |
parent | 472f92421b1b15dc765714a7c657704812859868 (diff) |
starmath: Drop SmParseError::UnoperExpected
because it cannot happen unless the invariant about TG::UnOper is
broken.
Change-Id: I2250c785c278d77e991be04353cf34b5c1c45a21
Reviewed-on: https://gerrit.libreoffice.org/34735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/error.hxx | 1 | ||||
-rw-r--r-- | starmath/inc/starmath.hrc | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/starmath/inc/error.hxx b/starmath/inc/error.hxx index ec0c10cb7d58..aff5faf16af0 100644 --- a/starmath/inc/error.hxx +++ b/starmath/inc/error.hxx @@ -29,7 +29,6 @@ enum class SmParseError UnexpectedChar, UnexpectedToken, FuncExpected, - UnoperExpected, PoundExpected, ColorExpected, LgroupExpected, diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index 28106ed613b3..508ad287f4bc 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -133,8 +133,7 @@ #define RID_ERR_LBRACEEXPECTED (RID_APP_START + 925) #define RID_ERR_RBRACEEXPECTED (RID_APP_START + 926) #define RID_ERR_FUNCEXPECTED (RID_APP_START + 927) -#define RID_ERR_UNOPEREXPECTED (RID_APP_START + 928) -// blank: 929 - 931 +// blank: 928 - 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) |