summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-04 15:56:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-04 15:56:58 +0100
commit9599cf88b1179e7727c7fa5a32c3dbb1635f4d00 (patch)
treecf98e1eef1c5f2dbdb9469133417d89bfb809f3a /xmloff
parent532b47a650ce5189e1fb759201129d7d1f434133 (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.cxx8
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()