[Libreoffice-commits] .: sc/source

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


 sc/source/core/data/colorscale.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit e9cd84cfaa323ca744fc39096bb90d8f564a1411
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Sep 23 21:54:13 2012 +0200

    WaE unused parameter
    
    Change-Id: I223fb29da72f72dcc6ebf218449450ce78ff4857

diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index 2a1bac4..3221e7d 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -907,9 +907,8 @@ void ScDataBarFormat::dumpInfo(rtl::OUStringBuffer& rBuf) const
             for( SCROW nRow = pRange->aStart.Row(), nEndRow = pRange->aEnd.Row(); nRow <= nEndRow; ++nRow)
             {
                 boost::scoped_ptr<ScDataBarInfo> pInfo( GetDataBarInfo(ScAddress(nCol, nRow, nTab)) );
-                std::cout << nCol << "," << nRow << "," << nTab << "," << pInfo->mnZero << ",";
-                std::cout << pInfo->mnLength << "," << pInfo->mbGradient << "," << pInfo->mbShowValue << std::endl;
-                std::cout << std::endl;
+                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");
             }
         }
     }


More information about the Libreoffice-commits mailing list