sw: replace boost::function with std::function

Change-Id: I5a0a0e83366ce518fc74d915bb8c43cc883ff016
This commit is contained in:
Michael Stahl
2015-07-31 21:47:13 +02:00
parent 9135280334
commit 326596f1ae
3 changed files with 1 additions and 4 deletions

View File

@@ -43,7 +43,6 @@
#include <basic/sbx.hxx> #include <basic/sbx.hxx>
#include <basic/sbxobj.hxx> #include <basic/sbxobj.hxx>
#include <basic/sbxvar.hxx> #include <basic/sbxvar.hxx>
#include <boost/function.hpp>
#include <boost/make_shared.hpp> #include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp> #include <boost/noncopyable.hpp>
#include <boost/numeric/conversion/cast.hpp> #include <boost/numeric/conversion/cast.hpp>

View File

@@ -18,7 +18,6 @@
*/ */
#include <bookmrk.hxx> #include <bookmrk.hxx>
#include <boost/function.hpp>
#include <cntfrm.hxx> #include <cntfrm.hxx>
#include <doc.hxx> #include <doc.hxx>
#include <IDocumentRedlineAccess.hxx> #include <IDocumentRedlineAccess.hxx>
@@ -129,7 +128,7 @@ namespace
std::vector<MarkEntry> m_aFlyEntries; std::vector<MarkEntry> m_aFlyEntries;
std::vector<PaMEntry> m_aUnoCrsrEntries; std::vector<PaMEntry> m_aUnoCrsrEntries;
std::vector<PaMEntry> m_aShellCrsrEntries; 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 virtual void Clear() SAL_OVERRIDE
{ {
m_aBkmkEntries.clear(); m_aBkmkEntries.clear();

View File

@@ -19,7 +19,6 @@
#include <MarkManager.hxx> #include <MarkManager.hxx>
#include <bookmrk.hxx> #include <bookmrk.hxx>
#include <boost/function.hpp>
#include <cntfrm.hxx> #include <cntfrm.hxx>
#include <crossrefbookmark.hxx> #include <crossrefbookmark.hxx>
#include <annotationmark.hxx> #include <annotationmark.hxx>