Resolves: tdf#94869 propagate error from scalar double to matrix
Minimal invasive fix for the problem, further work on error propagation in array/matrix cases may be needed. Change-Id: Ia6a7fe8138b98b78ffbe89572eb51ab8e9c0fdca
This commit is contained in:
parent
468b55301f
commit
07bc49b431
1 changed files with 8 additions and 1 deletions
|
@ -2663,7 +2663,14 @@ public:
|
|||
mpErrorInterpreter(pErrorInterpreter),
|
||||
maString(rString),
|
||||
mfVal(fVal)
|
||||
{ }
|
||||
{
|
||||
if (mpErrorInterpreter)
|
||||
{
|
||||
sal_uInt16 nErr = mpErrorInterpreter->GetError();
|
||||
if (nErr)
|
||||
mfVal = CreateDoubleError( nErr);
|
||||
}
|
||||
}
|
||||
|
||||
TRet operator()(double fVal) const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue