summaryrefslogtreecommitdiff
path: root/starmath/source/parse.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r--starmath/source/parse.cxx4
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: */