diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/idlc/idlctypes.hxx | 10 | ||||
-rw-r--r-- | idlc/inc/idlc/options.hxx | 2 | ||||
-rw-r--r-- | idlc/source/idlc.cxx | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx index 7766f837b3a5..e9e4c0c8d6b5 100644 --- a/idlc/inc/idlc/idlctypes.hxx +++ b/idlc/inc/idlc/idlctypes.hxx @@ -21,11 +21,11 @@ #include <stdio.h> -#include <boost/unordered_map.hpp> #include <list> -#include <vector> -#include <string> #include <set> +#include <string> +#include <unordered_map> +#include <vector> #include <sal/types.h> #include <rtl/ustring.hxx> @@ -44,8 +44,8 @@ typedef ::std::set< OString, LessString > StringSet; class AstDeclaration; -typedef ::boost::unordered_map< OString, AstDeclaration*, OStringHash > DeclMap; -typedef ::std::list< AstDeclaration* > DeclList; +typedef std::unordered_map< OString, AstDeclaration*, OStringHash > DeclMap; +typedef std::list< AstDeclaration* > DeclList; class AstScope; AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope); diff --git a/idlc/inc/idlc/options.hxx b/idlc/inc/idlc/options.hxx index 08d839e736f1..ccd2d01639d5 100644 --- a/idlc/inc/idlc/options.hxx +++ b/idlc/inc/idlc/options.hxx @@ -22,7 +22,7 @@ #include <idlc/idlctypes.hxx> -typedef ::boost::unordered_map< OString, +typedef std::unordered_map< OString, OString, OStringHash > OptionMap; diff --git a/idlc/source/idlc.cxx b/idlc/source/idlc.cxx index f6a449506cc6..27cb47d93423 100644 --- a/idlc/source/idlc.cxx +++ b/idlc/source/idlc.cxx @@ -38,6 +38,8 @@ #include <osl/file.hxx> #include <osl/thread.h> +#include <algorithm> + AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope) { if (pScope == NULL) return NULL; |