Kaydet (Commit) 2c0a010b authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:findoncontainer

Change-Id: Ie32abd917bf86ab0c44be80a00e5f35354bc3cdc
üst 87c94652
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment