[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 23 14:01:09 PDT 2012


 sc/source/core/data/colorscale.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 93effcb0a2eade8309c53b74d0ea22e8a2217661
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Sep 23 22:59:31 2012 +0200

    bool to sal_Bool for rtl::OUStringBuffer::append
    
    Change-Id: I4132cbb37438a11ed4e2558d28cd3e397a87d1ce

diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 3221e7d..b224b51 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -908,7 +908,7 @@ void ScDataBarFormat::dumpInfo(rtl::OUStringBuffer& rBuf) const
             {
                 boost::scoped_ptr<ScDataBarInfo> pInfo( GetDataBarInfo(ScAddress(nCol, nRow, nTab)) );
                 rBuf.append((sal_Int32) nCol).append(",").append(nRow).append(",").append((sal_Int32) nTab).append(",").append(pInfo->mnZero).append(",");
-                rBuf.append(pInfo->mnLength).append(",").append(pInfo->mbGradient).append(",").append(pInfo->mbShowValue).append("\n");
+                rBuf.append(pInfo->mnLength).append(",").append((sal_Bool)pInfo->mbGradient).append(",").append((sal_Bool)pInfo->mbShowValue).append("\n");
             }
         }
     }


More information about the Libreoffice-commits mailing list