summaryrefslogtreecommitdiff
path: root/rsc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-01 19:58:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commitfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch)
tree448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /rsc/source
parentc48b928acab9f226ad5ad816fe773c21051431e8 (diff)
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'rsc/source')
-rw-r--r--rsc/source/parser/rscibas.cxx4
-rw-r--r--rsc/source/parser/rsclex.cxx2
-rw-r--r--rsc/source/tools/rschash.cxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/rsc/source/parser/rscibas.cxx b/rsc/source/parser/rscibas.cxx
index 92babd05fd3a..3836b4748d3e 100644
--- a/rsc/source/parser/rscibas.cxx
+++ b/rsc/source/parser/rscibas.cxx
@@ -43,7 +43,7 @@
#include <rsclex.hxx>
#include <rscyacc.hxx>
-#include <boost/unordered_map.hpp>
+#include <unordered_map>
void RscTypCont::SETCONST( RscConst * pClass, const char * szString, sal_uInt32 nVal )
{
@@ -64,7 +64,7 @@ void RscTypCont::SETCONST( RscConst * pClass, Atom nName, sal_uInt32 nVal )
}
-typedef boost::unordered_map< OString, sal_uInt32, OStringHash > langmap;
+typedef std::unordered_map< OString, sal_uInt32, OStringHash > langmap;
static langmap ULong_Iso_map;
sal_uInt32 GetLangId(const OString &rLang)
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 858ee84a0e17..c5d3a195e646 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -42,7 +42,7 @@ const char* StringContainer::putString( const char* pString )
{
OString aString( static_cast<const sal_Char*>(pString) );
std::pair<
- boost::unordered_set< OString, OStringHash >::iterator,
+ std::unordered_set< OString, OStringHash >::iterator,
bool > aInsert =
m_aStrings.insert( aString );
diff --git a/rsc/source/tools/rschash.cxx b/rsc/source/tools/rschash.cxx
index 005c058916c0..65388ec91ca2 100644
--- a/rsc/source/tools/rschash.cxx
+++ b/rsc/source/tools/rschash.cxx
@@ -34,7 +34,7 @@ AtomContainer::~AtomContainer()
Atom AtomContainer::getID( const OString& rStr, bool bOnlyIfExists )
{
OString aKey = rStr.toAsciiLowerCase();
- boost::unordered_map< OString, Atom, OStringHash >::const_iterator it =
+ std::unordered_map< OString, Atom, OStringHash >::const_iterator it =
m_aStringToID.find( aKey );
if( it != m_aStringToID.end() )
return it->second;
@@ -51,7 +51,7 @@ Atom AtomContainer::getID( const OString& rStr, bool bOnlyIfExists )
const OString& AtomContainer::getString( Atom nAtom )
{
- boost::unordered_map< Atom, OString >::const_iterator it =
+ std::unordered_map< Atom, OString >::const_iterator it =
m_aIDToString.find( nAtom );
return (it != m_aIDToString.end()) ? it->second : m_aIDToString[0];
}