sc/source/ui/docshell/externalrefmgr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0e8ec9d6415a3381583c87c99f89b509594b68e1
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue Feb 16 13:47:47 2016 +0100

    loplugin:implicitboolconversion
    
    Change-Id: Ib21fe1f18a48246fc38c8c26454c28de2efc699f

diff --git a/sc/source/ui/docshell/externalrefmgr.cxx 
b/sc/source/ui/docshell/externalrefmgr.cxx
index 7bbf7b7..ee5efcc 100644
--- a/sc/source/ui/docshell/externalrefmgr.cxx
+++ b/sc/source/ui/docshell/externalrefmgr.cxx
@@ -797,7 +797,7 @@ void ScExternalRefCache::setCellRangeData(sal_uInt16 
nFileId, const ScRange& rRa
         };
         ScFullMatrix::BoolOpFunction aBoolFunc = [=](size_t row, size_t col, 
bool val) -> void
         {
-            pTabData->setCell(col + nCol1, row + nRow1, new 
formula::FormulaDoubleToken(val), 0, false);
+            pTabData->setCell(col + nCol1, row + nRow1, new 
formula::FormulaDoubleToken(val ? 1.0 : 0.0), 0, false);
         };
         ScFullMatrix::StringOpFunction aStringFunc = [=](size_t row, size_t 
col, svl::SharedString val) -> void
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to