diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-23 21:22:29 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-09-23 21:23:10 +0200 |
commit | 4c2a87d6e70040182d328c25d561b0de69e96a2b (patch) | |
tree | bdf40ba5ecda82192885cf14f4ae257ce03699fe /sc | |
parent | 1245c2a7daba66e78a8548b0e5193d7e2b1f2a92 (diff) |
int to sal_Int32
Change-Id: I44c5027c15b4f77a3ee76b62673641cc200fbefe
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/colorscale.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx index 4ca1bc7c6baf..257ff1b65f3a 100644 --- a/sc/source/core/data/colorscale.cxx +++ b/sc/source/core/data/colorscale.cxx @@ -176,7 +176,7 @@ void ScColorScaleEntry::dumpInfo(rtl::OUStringBuffer& rBuf) const default: rBuf.append( "Unsupported Type\n" ); } - rBuf.append( "Color: " ).append( (int)maColor.GetRed() ).append( "," ).append( (int)maColor.GetGreen() ).append( "," ).append( (int)maColor.GetBlue() ).append( "\n" ); + rBuf.append( "Color: " ).append( (sal_Int32)maColor.GetRed() ).append( "," ).append( (sal_Int32)maColor.GetGreen() ).append( "," ).append( (sal_Int32)maColor.GetBlue() ).append( "\n" ); if(meType == COLORSCALE_FORMULA) rBuf.append( "Formula: " ).append( GetFormula( formula::FormulaGrammar::GRAM_DEFAULT ) ).append("\n"); else if( meType != COLORSCALE_MIN && meType != COLORSCALE_MAX ) @@ -549,7 +549,7 @@ void ScColorScaleFormat::dumpInfo(rtl::OUStringBuffer& rBuf) const { boost::scoped_ptr<Color> pColor( GetColor(ScAddress(nCol, nRow, nTab)) ); rBuf.append(nCol).append(",").append(nRow).append(",").append(nTab).append(","); - rBuf.append(((int)pColor->GetRed())).append(",").append(((int)pColor->GetGreen())).append(",").append(((int)pColor->GetBlue())).append("\n"); + rBuf.append(((sal_Int32)pColor->GetRed())).append(",").append(((sal_Int32)pColor->GetGreen())).append(",").append(((sal_Int32)pColor->GetBlue())).append("\n"); } } } |