summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/scenariobuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/scenariobuffer.cxx')
-rw-r--r--sc/source/filter/oox/scenariobuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/scenariobuffer.cxx b/sc/source/filter/oox/scenariobuffer.cxx
index 33dd467472df..aaa00d9720d4 100644
--- a/sc/source/filter/oox/scenariobuffer.cxx
+++ b/sc/source/filter/oox/scenariobuffer.cxx
@@ -108,7 +108,7 @@ void Scenario::finalizeImport()
ScRangeList aRanges;
for( ScenarioCellVector::iterator aIt = maCells.begin(), aEnd = maCells.end(); aIt != aEnd; ++aIt )
if( !aIt->mbDeleted && rAddrConv.checkCellAddress( aIt->maPos, true ) )
- aRanges.Append( ScRange(aIt->maPos, aIt->maPos) );
+ aRanges.push_back( ScRange(aIt->maPos, aIt->maPos) );
if( !aRanges.empty() && !maModel.maName.isEmpty() ) try
{