From fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 1 Jan 2015 19:58:59 +0000 Subject: boost::unordered_map->std::unordered_map you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19 --- vbahelper/inc/pch/precompiled_msforms.hxx | 2 +- vbahelper/inc/pch/precompiled_vbahelper.hxx | 2 +- vbahelper/source/msforms/vbacontrols.cxx | 6 +++--- vbahelper/source/vbahelper/vbaapplicationbase.cxx | 5 +++-- vbahelper/source/vbahelper/vbadocumentsbase.cxx | 4 ++-- 5 files changed, 10 insertions(+), 9 deletions(-) (limited to 'vbahelper') diff --git a/vbahelper/inc/pch/precompiled_msforms.hxx b/vbahelper/inc/pch/precompiled_msforms.hxx index a6251b917a23..dcfc172189da 100644 --- a/vbahelper/inc/pch/precompiled_msforms.hxx +++ b/vbahelper/inc/pch/precompiled_msforms.hxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -77,6 +76,7 @@ #include #include #include +#include #include #include diff --git a/vbahelper/inc/pch/precompiled_vbahelper.hxx b/vbahelper/inc/pch/precompiled_vbahelper.hxx index b33416993dd5..93eac8850145 100644 --- a/vbahelper/inc/pch/precompiled_vbahelper.hxx +++ b/vbahelper/inc/pch/precompiled_vbahelper.hxx @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include @@ -165,6 +164,7 @@ #include #include #include +#include #include #include #include diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx index effbe48dc133..85a7bd421e6d 100644 --- a/vbahelper/source/msforms/vbacontrols.cxx +++ b/vbahelper/source/msforms/vbacontrols.cxx @@ -32,7 +32,7 @@ #include "vbacontrol.hxx" #include #include -#include +#include using namespace com::sun::star; using namespace ooo::vba; @@ -40,8 +40,8 @@ using namespace ooo::vba; typedef ::cppu::WeakImplHelper2< container::XNameAccess, container::XIndexAccess > ArrayWrapImpl; -typedef boost::unordered_map< OUString, sal_Int32, OUStringHash, - ::std::equal_to< OUString > > ControlIndexMap; +typedef std::unordered_map< OUString, sal_Int32, OUStringHash, + std::equal_to< OUString > > ControlIndexMap; typedef std::vector< uno::Reference< awt::XControl > > ControlVec; class ControlArrayWrapper : public ArrayWrapImpl diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx index 8dfe505fb47d..80ecc53f73f2 100644 --- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx +++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx @@ -34,7 +34,6 @@ #include #include -#include #include #include @@ -47,6 +46,8 @@ #include "vbacommandbars.hxx" +#include + using namespace ::com::sun::star; using namespace ::ooo::vba; @@ -144,7 +145,7 @@ struct VbaTimerInfoHash }; // ====VbaTimerHashMap================================== -typedef ::boost::unordered_map< VbaTimerInfo, VbaTimer*, VbaTimerInfoHash, ::std::equal_to< VbaTimerInfo > > VbaTimerHashMap; +typedef std::unordered_map< VbaTimerInfo, VbaTimer*, VbaTimerInfoHash, std::equal_to< VbaTimerInfo > > VbaTimerHashMap; // ====VbaApplicationBase_Impl================================== struct VbaApplicationBase_Impl diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx index 1c82657dcdb9..8c66d5bc029a 100644 --- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx +++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx @@ -45,8 +45,8 @@ #include #include #include -#include #include +#include #include "vbahelper/vbahelper.hxx" #include "vbahelper/vbaapplicationbase.hxx" @@ -58,7 +58,7 @@ using namespace ::com::sun::star; static const char aSpreadsheetDocument[] = "com.sun.star.sheet.SpreadsheetDocument"; static const char aTextDocument[] = "com.sun.star.text.TextDocument"; -typedef boost::unordered_map< OUString, +typedef std::unordered_map< OUString, sal_Int32, OUStringHash, ::std::equal_to< OUString > > NameIndexHash; -- cgit