diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-02-04 15:56:46 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-02-04 15:56:58 +0100 |
commit | 9599cf88b1179e7727c7fa5a32c3dbb1635f4d00 (patch) | |
tree | cf98e1eef1c5f2dbdb9469133417d89bfb809f3a /xmloff | |
parent | 532b47a650ce5189e1fb759201129d7d1f434133 (diff) |
Replace push(std::make_tuple(...)) with emplace(...)
...the former reportedly caused problems now with GCC 6 libstdc++
Change-Id: I4b13adc71d9e00b14df1c8e875dba9e90cbcdcc7
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtlists.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx index 2ec8dff91288..84f54ab103b1 100644 --- a/xmloff/source/text/txtlists.cxx +++ b/xmloff/source/text/txtlists.cxx @@ -76,17 +76,17 @@ XMLTextListsHelper::~XMLTextListsHelper() void XMLTextListsHelper::PushListContext( XMLTextListBlockContext *i_pListBlock) { - mListStack.push(std::make_tuple(i_pListBlock, + mListStack.emplace(i_pListBlock, static_cast<XMLTextListItemContext*>(nullptr), - static_cast<XMLNumberedParaContext*>(nullptr))); + static_cast<XMLNumberedParaContext*>(nullptr)); } void XMLTextListsHelper::PushListContext( XMLNumberedParaContext *i_pNumberedParagraph) { - mListStack.push(std::make_tuple( + mListStack.emplace( static_cast<XMLTextListBlockContext*>(nullptr), - static_cast<XMLTextListItemContext*>(nullptr), i_pNumberedParagraph)); + static_cast<XMLTextListItemContext*>(nullptr), i_pNumberedParagraph); } void XMLTextListsHelper::PopListContext() |