summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 09:32:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 09:32:40 +0200
commit4efe3bd73605e77c6b05ce069c8a505b9975d74e (patch)
treeaa5e7ecf3d5a9fbbd7d978025614a213ddc40904 /sc
parentCPPUNIT_ASSERT(a == b) -> CPPUNIT_ASSERT_EQUAL(b, a) (diff)
downloadcore-4efe3bd73605e77c6b05ce069c8a505b9975d74e.tar.gz
core-4efe3bd73605e77c6b05ce069c8a505b9975d74e.zip
loplugin:implicitboolconversion
Change-Id: I80f7967c5d537d1318890687631c0ceebef75fae
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/scmatrix.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 027742a20a50..9ed144514d34 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);
};