diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-02-15 14:29:38 +0100 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-02-15 14:29:38 +0100 |
commit | 399e814004b6a16b01068b45d1ed2d4005de0b1d (patch) | |
tree | 1a12352e40f494356bab7b176d749920fe445bc6 /sc | |
parent | c86eefb01075b6e974aea848d053693ad27271e5 (diff) |
chartmultiline: compiler warnings
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/chart2uno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index dcd9afa4c99b..e59c74da98b2 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -1647,8 +1647,8 @@ void RangeAnalyzer::initRangeAnalyzer( const vector<ScSharedTokenRef>& rTokens ) const ScComplexRefData& r = aRefToken->GetDoubleRef(); if (r.Ref1.nTab == r.Ref2.nTab) { - mnColumnCount = std::max<SCCOL>( mnColumnCount, abs(r.Ref2.nCol - r.Ref1.nCol)+1 ); - mnRowCount = std::max<SCROW>( mnRowCount, abs(r.Ref2.nRow - r.Ref1.nRow)+1 ); + mnColumnCount = std::max<SCCOL>( mnColumnCount, static_cast<SCCOL>(abs(r.Ref2.nCol - r.Ref1.nCol)+1) ); + mnRowCount = std::max<SCROW>( mnRowCount, static_cast<SCROW>(abs(r.Ref2.nRow - r.Ref1.nRow)+1) ); if( mnStartColumn == -1 ) { mnStartColumn = r.Ref1.nCol; |