loplugin:implicitboolconversion

Change-Id: I80f7967c5d537d1318890687631c0ceebef75fae
This commit is contained in:
Stephan Bergmann
2016-05-04 09:32:40 +02:00
parent e05ad4fc8b
commit 4efe3bd736

View File

@@ -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);
};