summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo/undostyl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undostyl.cxx')
-rw-r--r--sc/source/ui/undo/undostyl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undostyl.cxx b/sc/source/ui/undo/undostyl.cxx
index eabbfd08e823..066648d6d70e 100644
--- a/sc/source/ui/undo/undostyl.cxx
+++ b/sc/source/ui/undo/undostyl.cxx
@@ -227,7 +227,7 @@ ScUndoApplyPageStyle::~ScUndoApplyPageStyle()
void ScUndoApplyPageStyle::AddSheetAction( SCTAB nTab, const OUString& rOldStyle )
{
- maEntries.push_back( ApplyStyleEntry( nTab, rOldStyle ) );
+ maEntries.emplace_back( nTab, rOldStyle );
}
OUString ScUndoApplyPageStyle::GetComment() const