summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-12 08:14:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-12 09:42:55 +0200
commitb6819a53c0b56a47d6ac7c6eb5aa7d82ca49136c (patch)
tree393e90116f9b141c5f1e189dbc48ca774f171967 /sc/source/ui/undo
parenttdf#108963 PDF export of editeng text highlight: handle rotated text (diff)
downloadcore-b6819a53c0b56a47d6ac7c6eb5aa7d82ca49136c.tar.gz
core-b6819a53c0b56a47d6ac7c6eb5aa7d82ca49136c.zip
clang-tidy modernize-use-emplace in sc
Change-Id: Ifc38e1fc188fe957a0c717aec19cdd6637e4c658 Reviewed-on: https://gerrit.libreoffice.org/42183 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/undo')
-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