summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/excimp8.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/excimp8.cxx')
-rw-r--r--sc/source/filter/excel/excimp8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/excimp8.cxx b/sc/source/filter/excel/excimp8.cxx
index b09e5f7f3977..89250fa68ed2 100644
--- a/sc/source/filter/excel/excimp8.cxx
+++ b/sc/source/filter/excel/excimp8.cxx
@@ -438,7 +438,7 @@ void ImportExcel8::PostDocLoad()
ImportExcel::PostDocLoad();
// check scenarios; Attention: This increases the table count of the document!!
- if( !pD->IsClipboard() && maScenList.aEntries.size() )
+ if( !pD->IsClipboard() && !maScenList.aEntries.empty() )
{
pD->UpdateChartListenerCollection(); // references in charts must be updated