tdf#42982: improve UNO API error reportings
Change-Id: I5a5df811562da1aafecb0057bcfe888f92f7b887 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87652 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
This commit is contained in:
parent
f32a59a52e
commit
4f1e3dd278
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ double SAL_CALL AnalysisAddIn::getSeriessum( double fX, double fN, double fM, co
|
|||
|
||||
// #i32269# 0^0 is undefined, Excel returns #NUM! error
|
||||
if( fX == 0.0 && fN == 0 )
|
||||
throw uno::RuntimeException();
|
||||
throw uno::RuntimeException("undefined expression: 0^0");
|
||||
|
||||
if( fX != 0.0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue