openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1480375 - /openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx
Date Wed, 08 May 2013 17:36:30 GMT
Author: hdu
Date: Wed May  8 17:36:30 2013
New Revision: 1480375

URL: http://svn.apache.org/r1480375
Log:
#i122208# force configmgr's partial to boost container for now

boost containers allow recursive declarations explicitly

Modified:
    openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx

Modified: openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx
URL: http://svn.apache.org/viewvc/openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx?rev=1480375&r1=1480374&r2=1480375&view=diff
==============================================================================
--- openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx (original)
+++ openoffice/branches/rejuvenate01/main/configmgr/source/partial.hxx Wed May  8 17:36:30
2013
@@ -26,14 +26,13 @@
 
 #include "sal/config.h"
 
-#include <map>
+#include <boost/unordered_map.hpp> // using the boost container because it explicitly
allows recursive types
 #include <set>
 
 #include "boost/noncopyable.hpp"
 
 #include "path.hxx"
-
-namespace rtl { class OUString; }
+#include "rtl/ustring.hxx"
 
 namespace configmgr {
 
@@ -51,7 +50,7 @@ public:
 
 private:
     struct Node {
-        typedef std::map< rtl::OUString, Node > Children;
+        typedef boost::unordered_map< rtl::OUString, Node > Children;
 
         Node(): startInclude(false) {}
 



Mime
View raw message