diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-10 13:51:56 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-06-11 06:48:29 +0000 |
commit | d203948fdb780c7af5777fcc26ad88bac1bd714e (patch) | |
tree | 95458f3a290eed3d9a4ca13f28ec63f50490d7a6 /xmloff/source/chart/SchXMLTableContext.cxx | |
parent | 754ade38ddb2e96187d00f3e621203cea34961fa (diff) |
convert 'it.begin() == it.end()' to 'it.empty()'
Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145
Reviewed-on: https://gerrit.libreoffice.org/16212
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/chart/SchXMLTableContext.cxx')
-rw-r--r-- | xmloff/source/chart/SchXMLTableContext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx index 4f460f9c71e8..85ba4ca108b8 100644 --- a/xmloff/source/chart/SchXMLTableContext.cxx +++ b/xmloff/source/chart/SchXMLTableContext.cxx @@ -770,7 +770,7 @@ void SchXMLTableHelper::applyTableToInternalDataProvider( for( sal_Int32 i=0; i<nNumRows; ++i ) aDataInRows[i].realloc( nNumColumns ); - if( rTable.aData.begin() != rTable.aData.end()) + if( !rTable.aData.empty() ) { //apply column labels if( rTable.bHasHeaderRow ) |