[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Sep 23 12:49:30 PDT 2012


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

New commits:
commit 71f3d9834b4bf8ebab4a2125c014c408270179cd
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Sep 23 21:48:00 2012 +0200

    SCCOL and SCTAB to sal_Int32
    
    Change-Id: I664432ee192dee76c55ee2c3b6d721b8e578be1d

diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 257ff1b..2a1bac4 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -548,7 +548,7 @@ void ScColorScaleFormat::dumpInfo(rtl::OUStringBuffer& rBuf) const
             for( SCROW nRow = pRange->aStart.Row(), nEndRow = pRange->aEnd.Row(); nRow <= nEndRow; ++nRow)
             {
                 boost::scoped_ptr<Color> pColor( GetColor(ScAddress(nCol, nRow, nTab)) );
-                rBuf.append(nCol).append(",").append(nRow).append(",").append(nTab).append(",");
+                rBuf.append((sal_Int32)nCol).append(",").append(nRow).append(",").append((sal_Int32)nTab).append(",");
                 rBuf.append(((sal_Int32)pColor->GetRed())).append(",").append(((sal_Int32)pColor->GetGreen())).append(",").append(((sal_Int32)pColor->GetBlue())).append("\n");
             }
         }


More information about the Libreoffice-commits mailing list