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

Jan Holesovsky kendy at collabora.com
Wed Sep 18 05:30:04 PDT 2013


 sw/source/filter/ww8/wrtw8sty.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 73a1a54b7e2d1ed296d54af74922e291bf2607a7
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Sep 18 14:29:03 2013 +0200

    Use boost::unordered_set instead of std::unordered_set.
    
    Change-Id: Ia4135d7a944aaffc97c78ae0ca73090ee4bdef44

diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 2ca0b04..67ff6cc 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -20,9 +20,9 @@
 
 #include <algorithm>
 #include <functional>
-#include <unordered_set>
 
 #include <boost/scoped_array.hpp>
+#include <boost/unordered_set.hpp>
 
 #include <com/sun/star/i18n/ScriptType.hpp>
 #include <rtl/tencinfo.h>
@@ -297,7 +297,7 @@ void MSWordStyles::BuildStylesTable()
 
 void MSWordStyles::BuildStyleIds()
 {
-    std::unordered_set<OString, OStringHash> aUsed;
+    boost::unordered_set<OString, OStringHash> aUsed;
 
     m_aStyleIds.push_back("Normal");
     aUsed.insert("normal");


More information about the Libreoffice-commits mailing list