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 --- editeng/inc/pch/precompiled_editeng.hxx | 2 +- editeng/source/editeng/impedit4.cxx | 6 +++--- editeng/source/misc/svxacorr.cxx | 4 +++- editeng/source/uno/unoipset.cxx | 1 - 4 files changed, 7 insertions(+), 6 deletions(-) (limited to 'editeng') diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx index 30fed2f37736..b7da7d29304b 100644 --- a/editeng/inc/pch/precompiled_editeng.hxx +++ b/editeng/inc/pch/precompiled_editeng.hxx @@ -26,8 +26,8 @@ #include #include #include -#include #include +#include #include #include #include diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx index f75d85c7ad49..63932c9a811a 100644 --- a/editeng/source/editeng/impedit4.cxx +++ b/editeng/source/editeng/impedit4.cxx @@ -76,10 +76,10 @@ #include #include -#include #include #include -#include +#include +#include using namespace ::com::sun::star; using namespace ::com::sun::star::uno; @@ -454,7 +454,7 @@ sal_uInt32 ImpEditEngine::WriteRTF( SvStream& rOutput, EditSelection aSel ) rOutput.WriteChar( '}' ); rOutput << endl; - boost::unordered_map aStyleSheetToIdMap; + std::unordered_map aStyleSheetToIdMap; // StyleSheets... if ( GetStyleSheetPool() ) { diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx index 0003029c4f4a..a2754c48c7d1 100644 --- a/editeng/source/misc/svxacorr.cxx +++ b/editeng/source/misc/svxacorr.cxx @@ -64,6 +64,8 @@ #include #include #include +#include +#include using namespace ::com::sun::star::ucb; using namespace ::com::sun::star::uno; @@ -2697,7 +2699,7 @@ struct CompareSvxAutocorrWordList namespace { typedef std::set AutocorrWordSetType; -typedef boost::unordered_map AutocorrWordHashType; +typedef std::unordered_map AutocorrWordHashType; } diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx index 070000054569..59f08cdb5144 100644 --- a/editeng/source/uno/unoipset.cxx +++ b/editeng/source/uno/unoipset.cxx @@ -20,7 +20,6 @@ #include #include -#include #include #include -- cgit 4.6'>distro/collabora/co-24.04.6 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-10-21move afl examples/test-cases to dedicated dirCaolán McNamara
Change-Id: I36f09cd19ea721ee69e62fac4cf0744827e8cefb
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I3e5ee77b51eb8e1207d3f95e6a1d9d8272532ba6
2015-09-22convert Link<> to typedNoel Grandin
and remove unused UserEvent class Change-Id: Ic61c5eef75c36393dbbaa92d93163eab89021ee3
2015-08-28make PostUserEvent Link<> typedNoel Grandin
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2014-06-13loplugin:staticcallStephan Bergmann
Change-Id: I16195f2278ae67f17db55e02bb38fe3c5cd063be
2014-05-06vcl::EventPoster shall probably be covered by SolarMutexStephan Bergmann
...as most parts of VCL. Ran across at least one case where a remote call to framework::CloseDispatcher::release -> ~CloseDispatcher -> ~EventPoster -> Application::RemoveUserEvent caused a crash. As always with SolarMutex, keep fingers crossed that this is about the right level to acquire it. Change-Id: I8f4be7329adbf72355774fa5d3c472270da3ddd2
2014-05-06Just IMPL_LINK is just fineStephan Bergmann
Change-Id: I64cfb93b5fcf27a7faff71ca2b4ab8795f46a3b2