loplugin:findoncontainer
Change-Id: Ie32abd917bf86ab0c44be80a00e5f35354bc3cdc
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user