summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/BubbleDataInterpreter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/BubbleDataInterpreter.cxx')
-rw-r--r--chart2/source/model/template/BubbleDataInterpreter.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/chart2/source/model/template/BubbleDataInterpreter.cxx b/chart2/source/model/template/BubbleDataInterpreter.cxx
index 3c3c33770ce5..7243b43aae96 100644
--- a/chart2/source/model/template/BubbleDataInterpreter.cxx
+++ b/chart2/source/model/template/BubbleDataInterpreter.cxx
@@ -17,6 +17,10 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <cstddef>
+
#include "BubbleDataInterpreter.hxx"
#include <DataSeries.hxx>
#include <DataSeriesHelper.hxx>
@@ -114,7 +118,7 @@ InterpretedData BubbleDataInterpreter::interpretDataSource(
}
// create DataSeries
- sal_Int32 nSeriesIndex = 0;
+ std::size_t nSeriesIndex = 0;
vector< rtl::Reference< DataSeries > > aSeriesVec;
aSeriesVec.reserve( aSizeValuesVector.size());
@@ -135,7 +139,7 @@ InterpretedData BubbleDataInterpreter::interpretDataSource(
aNewData.push_back(aSizeValuesVector[nN]);
rtl::Reference< DataSeries > xSeries;
- if( nSeriesIndex < static_cast<sal_Int32>(aSeriesToReUse.size()))
+ if( nSeriesIndex < aSeriesToReUse.size())
xSeries = aSeriesToReUse[nSeriesIndex];
else
xSeries = new DataSeries;