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:
Eike Rathke 2015-10-15 23:40:28 +02:00
parent 468b55301f
commit 07bc49b431

View file

@ -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
{