diff options
Diffstat (limited to 'sc/source/ui/unoobj/cellsuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 84d97df0f383..a764af6f594a 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -9321,7 +9321,7 @@ void ScUniqueFormatsEntry::Join( const ScRange& rNewRange ) } SCROW nSingleRow = aSingleRange.aStart.Row(); - aJoinedRanges.insert( ScRowRangeHashMap::value_type( nSingleRow, aSingleRange ) ); + aJoinedRanges.emplace( nSingleRow, aSingleRange ); eState = STATE_COMPLEX; // continue normally } @@ -9353,7 +9353,7 @@ void ScUniqueFormatsEntry::Join( const ScRange& rNewRange ) else { // keep rNewRange for joining - aJoinedRanges.insert( ScRowRangeHashMap::value_type( nStartRow, rNewRange ) ); + aJoinedRanges.emplace( nStartRow, rNewRange ); } } |