[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed May 4 07:33:09 UTC 2016
sc/source/core/tool/scmatrix.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4efe3bd73605e77c6b05ce069c8a505b9975d74e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 4 09:32:40 2016 +0200
loplugin:implicitboolconversion
Change-Id: I80f7967c5d537d1318890687631c0ceebef75fae
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 027742a..9ed1445 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -2418,7 +2418,7 @@ void ScMatrixImpl::MatConcat(SCSIZE nMaxCol, SCSIZE nMaxRow, const ScMatrixRef&
[&](size_t nRow, size_t nCol, bool nVal)
{
OUString aStr;
- rFormatter.GetInputLineString( nVal, nKey, aStr);
+ rFormatter.GetInputLineString( nVal ? 1.0 : 0.0, nKey, aStr);
aString[get_index(nMaxRow, nMaxCol, nRow, nCol, nRowOffset, nColOffset)] = aString[get_index(nMaxRow, nMaxCol, nRow, nCol, nRowOffset, nColOffset)] + aStr;
};
@@ -2468,7 +2468,7 @@ void ScMatrixImpl::MatConcat(SCSIZE nMaxCol, SCSIZE nMaxRow, const ScMatrixRef&
[&](size_t nRow, size_t nCol, bool nVal)
{
OUString aStr;
- rFormatter.GetInputLineString( nVal, nKey, aStr);
+ rFormatter.GetInputLineString( nVal ? 1.0 : 0.0, nKey, aStr);
aSharedString[get_index(nMaxRow, nMaxCol, nRow, nCol, nRowOffset, nColOffset)] = rStringPool.intern(aString[get_index(nMaxRow, nMaxCol, nRow, nCol, nRowOffset, nColOffset)] + aStr);
};
More information about the Libreoffice-commits
mailing list