warnings removed (Linux)
This commit is contained in:
parent
0b1a461ca5
commit
76d6ff2a3f
2 changed files with 8 additions and 8 deletions
|
@ -253,7 +253,7 @@ void VSeriesPlotter::createDataLabel( const uno::Reference< drawing::XShapes >&
|
|||
if(pCaption->ShowNumberInPercent)
|
||||
{
|
||||
fValue = fValue*100.0/fSumValue;
|
||||
sal_Int32 nRound = fValue*100;
|
||||
sal_Int32 nRound = static_cast< sal_Int32 >( fValue * 100.0 );
|
||||
fValue = nRound/100.0;
|
||||
if( fValue < 0 )
|
||||
fValue*=-1.0;
|
||||
|
@ -335,7 +335,7 @@ double VSeriesPlotter::getMinimumYInRange( double fMinimumX, double fMaximumX )
|
|||
double fMinimum, fMaximum;
|
||||
::rtl::math::setInf(&fMinimum, false);
|
||||
::rtl::math::setInf(&fMaximum, true);
|
||||
for(sal_Int32 nN =0; nN<m_aXSlots.size();nN++ )
|
||||
for(size_t nN =0; nN<m_aXSlots.size();nN++ )
|
||||
{
|
||||
double fLocalMinimum, fLocalMaximum;
|
||||
if( m_aXSlots[nN].calculateYMinAndMaxForCategoryRange(
|
||||
|
@ -359,7 +359,7 @@ double VSeriesPlotter::getMaximumYInRange( double fMinimumX, double fMaximumX )
|
|||
double fMinimum, fMaximum;
|
||||
::rtl::math::setInf(&fMinimum, false);
|
||||
::rtl::math::setInf(&fMaximum, true);
|
||||
for(sal_Int32 nN =0; nN<m_aXSlots.size();nN++ )
|
||||
for(size_t nN =0; nN<m_aXSlots.size();nN++ )
|
||||
{
|
||||
double fLocalMinimum, fLocalMaximum;
|
||||
if( m_aXSlots[nN].calculateYMinAndMaxForCategoryRange(
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
*
|
||||
* $RCSfile: VDataSeries.cxx,v $
|
||||
*
|
||||
* $Revision: 1.1.1.1 $
|
||||
* $Revision: 1.2 $
|
||||
*
|
||||
* last change: $Author: bm $ $Date: 2003-10-06 09:58:34 $
|
||||
* last change: $Author: bm $ $Date: 2003-10-17 14:56:41 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
|
@ -205,7 +205,7 @@ VDataSeries::VDataSeries( uno::Reference< XDataSeries > xDataSeries, const Shape
|
|||
}
|
||||
catch( uno::Exception& e )
|
||||
{
|
||||
e;
|
||||
ASSERT_EXCEPTION( e );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -238,7 +238,7 @@ VDataSeries::VDataSeries( uno::Reference< XDataSeries > xDataSeries, const Shape
|
|||
}
|
||||
catch( uno::Exception& e )
|
||||
{
|
||||
e;
|
||||
ASSERT_EXCEPTION( e );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -347,7 +347,7 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfSeries() const
|
|||
}
|
||||
catch( uno::Exception &e)
|
||||
{
|
||||
e;
|
||||
ASSERT_EXCEPTION( e );
|
||||
}
|
||||
return apCaption;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue