starmath/source/parse.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1b64713b6cbcc2bf748b199e0c97dfd6d2f262ec Author: dante <[email protected]> AuthorDate: Fri Mar 5 11:29:22 2021 +0100 Commit: Noel Grandin <[email protected]> CommitDate: Sat Mar 6 13:10:04 2021 +0100 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 <[email protected]> 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: */ _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
