From 9599cf88b1179e7727c7fa5a32c3dbb1635f4d00 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 4 Feb 2016 15:56:46 +0100 Subject: Replace push(std::make_tuple(...)) with emplace(...) ...the former reportedly caused problems now with GCC 6 libstdc++ Change-Id: I4b13adc71d9e00b14df1c8e875dba9e90cbcdcc7 --- xmloff/source/text/txtlists.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmloff') 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(nullptr), - static_cast(nullptr))); + static_cast(nullptr)); } void XMLTextListsHelper::PushListContext( XMLNumberedParaContext *i_pNumberedParagraph) { - mListStack.push(std::make_tuple( + mListStack.emplace( static_cast(nullptr), - static_cast(nullptr), i_pNumberedParagraph)); + static_cast(nullptr), i_pNumberedParagraph); } void XMLTextListsHelper::PopListContext() -- cgit