diff options
author | dante <dante19031999@gmail.com> | 2021-03-05 11:29:22 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-06 13:10:04 +0100 |
commit | 1b64713b6cbcc2bf748b199e0c97dfd6d2f262ec (patch) | |
tree | deba3e0dd9ce75e0118036a75b174d54a6e42a70 /starmath | |
parent | bd37588605f7773d41b5388b18952e5c90f12214 (diff) |
SmParser obtainer, correct error on exception message
Change-Id: Ia2c0bad7546e5a4288ce70cf2a72e400ff722a94
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112001
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 3ea272faef6b..45cb75d9a942 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -31,7 +31,7 @@ AbstractSmParser* starmathdatabase::GetDefaultSmParser() return aParser; } default: - throw std::range_error("parser depth limit"); + throw std::range_error("parser version limit"); } } @@ -45,7 +45,7 @@ AbstractSmParser* starmathdatabase::GetVersionSmParser(sal_uInt16 nVersion) return aParser; } default: - throw std::range_error("parser depth limit"); + throw std::range_error("parser version limit"); } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |