diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 12:38:05 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-05-31 13:09:03 +0100 |
commit | 9bd64312c2662adc5016735a03f3844654d40d4f (patch) | |
tree | 3927d146d761e106bdb1e32ddf504c358da4db12 /chart2/source | |
parent | a0bbb2a1af40e42d02f0f7567580475b3c39e50b (diff) |
targetted minor size vs. empty reversion
Change-Id: Icf49ed7746a4325e626976ce376762804d0c82be
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index 15133eec35e5..7aaa32deaf19 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -765,7 +765,7 @@ void SeriesPlotterContainer::initializeCooSysAndSeriesPlotter( } //transport seriesnames to the coordinatesystems if needed - if( !m_aSeriesPlotterList.empty() ) + if( m_aSeriesPlotterList.size() ) { uno::Sequence< rtl::OUString > aSeriesNames; bool bSeriesNamesInitialized = false; diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 25420ad45342..9fc7695b21dc 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -110,7 +110,7 @@ struct lcl_LessXOfPoint inline bool operator() ( const std::vector< double >& first, const std::vector< double >& second ) { - if( !first.empty() && !second.empty() ) + if( first.size() > 0 && second.size() > 0 ) { return first[0]<second[0]; } |