diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8scan.hxx')
-rw-r--r-- | sw/source/filter/ww8/ww8scan.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx index 07a82ad0e5e7..44aaddf9ad9b 100644 --- a/sw/source/filter/ww8/ww8scan.hxx +++ b/sw/source/filter/ww8/ww8scan.hxx @@ -74,8 +74,7 @@ public: //see Read_AmbiguousSPRM for the bPatchCJK oddity wwSprmSearcher(SprmInfoRow const * rows, std::size_t size, bool bPatchCJK = false) { for (std::size_t i = 0; i != size; ++i) { - bool ins = map_.insert(Map::value_type(rows[i].nId, rows[i].info)) - .second; + bool ins = map_.emplace(rows[i].nId, rows[i].info).second; assert(ins); (void) ins; } if (bPatchCJK) |