diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbachartobjects.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index efcf66894a10..50fe4e8bb85d 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -1373,7 +1373,7 @@ void ScTable::SortReorderByRowRefUpdate( FormulaCellCollectAction aAction(aFCells); aGrpListenerRanges.executeColumnAction(*pDocument, aAction); - std::copy(aFCells.begin(), aFCells.end(), std::back_inserter(aListeners)); + aListeners.insert( aListeners.end(), aFCells.begin(), aFCells.end() ); } // Remove any duplicate listener entries. We must ensure that we notify diff --git a/sc/source/ui/vba/vbachartobjects.cxx b/sc/source/ui/vba/vbachartobjects.cxx index dabe9a1a06dd..4f38a59a3e69 100644 --- a/sc/source/ui/vba/vbachartobjects.cxx +++ b/sc/source/ui/vba/vbachartobjects.cxx @@ -116,7 +116,7 @@ ScVbaChartObjects::getChartObjectNames() const { uno::Reference< table::XTableChartsSupplier > xLocTableChartsSupplier( xSpreadsheets->getByName(rSheetName), uno::UNO_QUERY_THROW ); const uno::Sequence< OUString > scurchartnames = xLocTableChartsSupplier->getCharts()->getElementNames(); - std::copy(scurchartnames.begin(), scurchartnames.end(), std::back_inserter(aChartNamesVector)); + aChartNamesVector.insert( aChartNamesVector.end(), scurchartnames.begin(), scurchartnames.end() ); } sChartNames = comphelper::containerToSequence( aChartNamesVector ); } |