diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-31 21:47:13 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-31 21:54:30 +0200 |
commit | 326596f1ae6535c3299bb9e702496864d87fcffe (patch) | |
tree | 4c4d0d12d68098a5e932a30d310b94bf341249f7 /sw | |
parent | 91352803344b7a1d20121f6aa4a642dbe45936b2 (diff) |
sw: replace boost::function with std::function
Change-Id: I5a0a0e83366ce518fc74d915bb8c43cc883ff016
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/pch/precompiled_sw.hxx | 1 | ||||
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 1 |
3 files changed, 1 insertions, 4 deletions
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index e740d22b15db..c60047cc04bf 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -43,7 +43,6 @@ #include <basic/sbx.hxx> #include <basic/sbxobj.hxx> #include <basic/sbxvar.hxx> -#include <boost/function.hpp> #include <boost/make_shared.hpp> #include <boost/noncopyable.hpp> #include <boost/numeric/conversion/cast.hpp> diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx index 834ff27b5999..7b4e8a6d58f9 100644 --- a/sw/source/core/doc/CntntIdxStore.cxx +++ b/sw/source/core/doc/CntntIdxStore.cxx @@ -18,7 +18,6 @@ */ #include <bookmrk.hxx> -#include <boost/function.hpp> #include <cntfrm.hxx> #include <doc.hxx> #include <IDocumentRedlineAccess.hxx> @@ -129,7 +128,7 @@ namespace std::vector<MarkEntry> m_aFlyEntries; std::vector<PaMEntry> m_aUnoCrsrEntries; std::vector<PaMEntry> m_aShellCrsrEntries; - typedef boost::function<void (SwPosition& rPos, sal_Int32 nContent)> updater_t; + typedef std::function<void (SwPosition& rPos, sal_Int32 nContent)> updater_t; virtual void Clear() SAL_OVERRIDE { m_aBkmkEntries.clear(); diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 060c32ff3aae..536cd7a88210 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -19,7 +19,6 @@ #include <MarkManager.hxx> #include <bookmrk.hxx> -#include <boost/function.hpp> #include <cntfrm.hxx> #include <crossrefbookmark.hxx> #include <annotationmark.hxx> |