summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-31 16:09:14 +0200
committerDavid Tardon <dtardon@redhat.com>2015-04-01 08:08:40 +0000
commitbf8fdf104b780b8bf54710d00cf3f19922700fdf (patch)
treedaea3a8d4be66157007cde32b6392f96e4b48b5a
parent0f5cbcc5bd5fbde8f13a6655bd47dca4d7722ce9 (diff)
use error value instead of string in array/matrix, tdf#42481 related
Change-Id: Ib97509609bd3e6629e3efd0c633535564f1c64d6 (cherry picked from commit f3989e4d3d87f07a484d7c404bc2bfc678faa7f0) Reviewed-on: https://gerrit.libreoffice.org/15096 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
-rw-r--r--sc/source/core/tool/interpr1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index c5b1f02111f6..a8111f310136 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -994,7 +994,7 @@ sc::RangeMatrix ScInterpreter::CompareMat( ScQueryOp eOp, sc::CompareOptions* pO
sc::CompareFunc(aComp.maCells[0], aComp.maCells[1], aComp.mbIgnoreCase, pOptions), j, k);
}
else
- aRes.mpMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NO_VALUE)), j, k);
+ aRes.mpMat->PutError( errNoValue, j, k);
}
}