[Libreoffice-commits] .: binfilter/bf_sch

Pierre-André Jacquod pjacquod at kemper.freedesktop.org
Thu Jan 20 10:36:19 PST 2011


 binfilter/bf_sch/source/core/sch_chtmodel.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 74849b3d33151d757b230c01ef9bbeb1db8b6151
Author: Pierre-André Jacquod <pjacquod at alumni.ethz.ch>
Date:   Thu Jan 20 19:35:25 2011 +0100

    compiling fix: adding cast to ULONG in ::std::min

diff --git a/binfilter/bf_sch/source/core/sch_chtmodel.cxx b/binfilter/bf_sch/source/core/sch_chtmodel.cxx
index 65b8485..b57da97 100644
--- a/binfilter/bf_sch/source/core/sch_chtmodel.cxx
+++ b/binfilter/bf_sch/source/core/sch_chtmodel.cxx
@@ -784,7 +784,7 @@ void ChartModel::ClearItemSetLists()
 /*N*/ 	else
 /*N*/ 		nRowCnt = GetRowCount();
 /*N*/
-/*N*/     long nUpperIndex = ::std::min( static_cast< ULONG >( nRowCnt ), aDataRowAttrList.size() );
+/*N*/     long nUpperIndex = ::std::min( static_cast< ULONG >( nRowCnt ), static_cast <ULONG > (aDataRowAttrList.size() ) );
 /*N*/
 /*N*/     if( nStartIndex < nUpperIndex )
 /*N*/     {
@@ -998,7 +998,7 @@ void ChartModel::ClearItemSetLists()
 /*N*/ 		if(bOldXY!=IsXYChart())
 /*N*/ 		{
 /*?*/ 			if(bOldXY)
-/*?*/ 				aDataRowAttrList[ 0 ]->Put(SfxInt32Item(SCHATTR_AXIS,CHART_AXIS_PRIMARY_Y));//wird evtl. unten geändert, s.u. StockCharts
+/*?*/ 				aDataRowAttrList[ 0 ]->Put(SfxInt32Item(SCHATTR_AXIS,CHART_AXIS_PRIMARY_Y));//wird evtl. unten ge?dert, s.u. StockCharts
 /*?*/ 			else
 /*?*/ 				aDataRowAttrList[ 0 ]->Put(SfxInt32Item(SCHATTR_AXIS,CHART_AXIS_PRIMARY_X));
 /*?*/


More information about the Libreoffice-commits mailing list