summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/pfuncache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/pfuncache.cxx')
-rw-r--r--sc/source/ui/view/pfuncache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index c73a1df51436..93a22a056c0e 100644
--- a/sc/source/ui/view/pfuncache.cxx
+++ b/sc/source/ui/view/pfuncache.cxx
@@ -118,7 +118,7 @@ void ScPrintFuncCache::InitLocations( const ScMarkData& rMark, OutputDevice* pDe
ScRange aCellRange;
tools::Rectangle aPixRect;
if ( aLocData.GetMainCellRange( aCellRange, aPixRect ) )
- aLocations.push_back( ScPrintPageLocation( nRenderer, aCellRange, aPixRect ) );
+ aLocations.emplace_back( nRenderer, aCellRange, aPixRect );
++nRenderer;
}