[Libreoffice-commits] core.git: sc/source

Tamás Zolnai tamas.zolnai at collabora.com
Sat Oct 7 16:38:29 UTC 2017


 sc/source/filter/excel/xepivotxml.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 74b47af9885ba4c59195fedc1e0510b8b056a025
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Sat Oct 7 17:50:53 2017 +0200

    This method was replaced accidentally
    
    Change-Id: I37d6d0fc36420de6dbdd69f264b85f3ba591e312
    Reviewed-on: https://gerrit.libreoffice.org/43232
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sc/source/filter/excel/xepivotxml.cxx b/sc/source/filter/excel/xepivotxml.cxx
index b89ea058c2e4..99510d85835a 100644
--- a/sc/source/filter/excel/xepivotxml.cxx
+++ b/sc/source/filter/excel/xepivotxml.cxx
@@ -783,7 +783,7 @@ void XclExpXmlPivotTables::SavePivotTableXml( XclExpXmlStream& rStrm, const ScDP
                     size_t nCachePos = it - iCacheFieldItems_begin;
                     auto aInserted = aUsedCachePositions.insert(nCachePos);
                     if (aInserted.second)
-                        aMemberSequence.push_back(std::make_pair(nCachePos, !rMember.mbVisible));
+                        aMemberSequence.emplace_back(std::make_pair(nCachePos, !rMember.mbVisible));
                     break;
                 }
             }


More information about the Libreoffice-commits mailing list