diff options
Diffstat (limited to 'stoc/source/invocation_adapterfactory/iafactory.cxx')
-rw-r--r-- | stoc/source/invocation_adapterfactory/iafactory.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx index 70d2562657ad..f4b3d2d076a4 100644 --- a/stoc/source/invocation_adapterfactory/iafactory.cxx +++ b/stoc/source/invocation_adapterfactory/iafactory.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -28,8 +29,8 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_stoc.hxx" -#include <hash_map> -#include <hash_set> +#include <boost/unordered_map.hpp> +#include <boost/unordered_set.hpp> #include <osl/diagnose.h> #include <osl/interlck.h> @@ -110,8 +111,8 @@ struct hash_ptr inline size_t operator() ( void * p ) const { return (size_t)p; } }; -typedef hash_set< void *, hash_ptr, equal_to< void * > > t_ptr_set; -typedef hash_map< void *, t_ptr_set, hash_ptr, equal_to< void * > > t_ptr_map; +typedef boost::unordered_set< void *, hash_ptr, equal_to< void * > > t_ptr_set; +typedef boost::unordered_map< void *, t_ptr_set, hash_ptr, equal_to< void * > > t_ptr_map; //============================================================================== class FactoryImpl @@ -303,7 +304,7 @@ bool AdapterImpl::coerce_assign( m_pFactory->m_pConverter, m_pFactory->m_pConvertToTD, &ret, args, &p_exc ); - if (p_exc) // exception occured + if (p_exc) // exception occurred { OSL_ASSERT( p_exc->pType->eTypeClass == typelib_TypeClass_EXCEPTION ); @@ -1023,3 +1024,5 @@ void * SAL_CALL component_getFactory( pImplName, pServiceManager, pRegistryKey , g_entries ); } } + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |