diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 09:32:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 09:32:40 +0200 |
commit | 4efe3bd73605e77c6b05ce069c8a505b9975d74e (patch) | |
tree | aa5e7ecf3d5a9fbbd7d978025614a213ddc40904 /sc | |
parent | e05ad4fc8b3a0a0e92c31c0afe935acfcb8efb97 (diff) |
loplugin:implicitboolconversion
Change-Id: I80f7967c5d537d1318890687631c0ceebef75fae
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 4 |
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); }; |