summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-04-28 11:55:23 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-04-28 11:59:23 -0400
commit5fab47ddbe332a150fb2005e941a2c19bd38ce7f (patch)
tree7b663680f770c627eb04e6a85f3c1b40300e0200
parent18fa4733f46c2dae40bad7cdea9d3f98e24495dd (diff)
fdo#75397: Return an empty string for empty element.
This is the behavior as of 3.6. It had changed in 4.0 and onward by accident, and caused the bug as reported in fdo#75397. Change-Id: Id96fea354604b3c13cbbf2d9a73223b7725c7d66
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b71da72b9f2d..32da95ae205f 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -579,7 +579,7 @@ svl::SharedString ScMatrixImpl::GetString( SvNumberFormatter& rFormatter, SCSIZE
{
if (!maMatFlag.get<bool>(nR, nC))
// not an empty path.
- break;
+ return svl::SharedString::getEmptyString();
// result of empty FALSE jump path
sal_uLong nKey = rFormatter.GetStandardFormat( NUMBERFORMAT_LOGICAL,