summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-12-15 09:11:30 +0200
committerNoel Grandin <noel@peralex.com>2015-12-15 09:11:30 +0200
commit2c0a010b19cd2f1f7cf976b3fe7129dc9bd9e69c (patch)
tree280baaf3d9ffebe7c591b0d4547299c5b0c9e089 /oox
parent87c9465262680dec09efb869800859aa65ab1d19 (diff)
loplugin:findoncontainer
Change-Id: Ie32abd917bf86ab0c44be80a00e5f35354bc3cdc
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);