Kaydet (Commit) 326596f1 authored tarafından Michael Stahl's avatar Michael Stahl

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

Change-Id: I5a0a0e83366ce518fc74d915bb8c43cc883ff016
üst 91352803
...@@ -43,7 +43,6 @@ ...@@ -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>
......
...@@ -18,7 +18,6 @@ ...@@ -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 ...@@ -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();
......
...@@ -19,7 +19,6 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment