diff options
Diffstat (limited to 'chart2/source/model/main/Diagram.cxx')
-rw-r--r-- | chart2/source/model/main/Diagram.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/Diagram.cxx b/chart2/source/model/main/Diagram.cxx index 0e627e6787e6..61b531cfc419 100644 --- a/chart2/source/model/main/Diagram.cxx +++ b/chart2/source/model/main/Diagram.cxx @@ -482,7 +482,7 @@ void SAL_CALL Diagram::addCoordinateSystem( != m_aCoordSystems.end()) throw lang::IllegalArgumentException(); - if( m_aCoordSystems.size()>=1 ) + if( !m_aCoordSystems.empty() ) { OSL_FAIL( "more than one coordinatesystem is not supported yet by the fileformat" ); return; |