summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index e62ad953442f..2dbc864e86d9 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -2671,8 +2671,7 @@ void ChartExport::_exportAxis(
}
// only export each axis only once non-deleted
- bool bDeleted = std::find(maExportedAxis.begin(),
- maExportedAxis.end(), rAxisIdPair.nAxisType) != maExportedAxis.end();
+ bool bDeleted = maExportedAxis.find(rAxisIdPair.nAxisType) != maExportedAxis.end();
if (!bDeleted)
maExportedAxis.insert(rAxisIdPair.nAxisType);