summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/unoreflist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/unoreflist.cxx')
-rw-r--r--sc/source/ui/unoobj/unoreflist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/unoreflist.cxx b/sc/source/ui/unoobj/unoreflist.cxx
index 13d6cd06a0d6..bc0cde0277e2 100644
--- a/sc/source/ui/unoobj/unoreflist.cxx
+++ b/sc/source/ui/unoobj/unoreflist.cxx
@@ -30,7 +30,7 @@ ScUnoRefList::~ScUnoRefList()
void ScUnoRefList::Add( sal_Int64 nId, const ScRangeList& rOldRanges )
{
- aEntries.push_back( ScUnoRefEntry( nId, rOldRanges ) );
+ aEntries.emplace_back( nId, rOldRanges );
}
void ScUnoRefList::Undo( ScDocument* pDoc )