[Libreoffice-commits] core.git: starmath/source
dante (via logerrit)
logerrit at kemper.freedesktop.org
Sat Mar 6 12:10:44 UTC 2021
starmath/source/parse.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1b64713b6cbcc2bf748b199e0c97dfd6d2f262ec
Author: dante <dante19031999 at gmail.com>
AuthorDate: Fri Mar 5 11:29:22 2021 +0100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
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 <noel.grandin at collabora.co.uk>
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: */
More information about the Libreoffice-commits
mailing list