diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-31 18:30:48 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-31 21:24:25 +0200 |
commit | 69885050705d65803b0176beb7ffc7938d527396 (patch) | |
tree | 18554fc52bc73edf96bbfb35893e09386564b0bd /svx | |
parent | 2a62966d8947829d00702455977026369082007a (diff) |
svx: replace boost::function with std::function
Change-Id: I7d6d01775600fdbd64b0b5a249d88acdb89f6591
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/SelectionChangeHandler.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/line/LineWidthPopup.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/tools/Popup.cxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/sidebar/SelectionChangeHandler.cxx b/svx/source/sidebar/SelectionChangeHandler.cxx index b25011fd6586..0a4b5aafe2b4 100644 --- a/svx/source/sidebar/SelectionChangeHandler.cxx +++ b/svx/source/sidebar/SelectionChangeHandler.cxx @@ -33,7 +33,7 @@ using namespace sfx2::sidebar; namespace svx { namespace sidebar { SelectionChangeHandler::SelectionChangeHandler ( - const boost::function<rtl::OUString()>& rSelectionChangeCallback, + const std::function<rtl::OUString()>& rSelectionChangeCallback, const Reference<frame::XController>& rxController, const EnumContext::Context eDefaultContext) : SelectionChangeHandlerInterfaceBase(m_aMutex), diff --git a/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx b/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx index fb01754a9b3a..98ddc10f589a 100644 --- a/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx +++ b/svx/source/sidebar/area/AreaTransparencyGradientPopup.cxx @@ -23,7 +23,7 @@ namespace svx { namespace sidebar { AreaTransparencyGradientPopup::AreaTransparencyGradientPopup ( vcl::Window* pParent, - const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator) + const ::std::function<PopupControl* (PopupContainer*)>& rControlCreator) : Popup( pParent, rControlCreator, diff --git a/svx/source/sidebar/line/LineWidthPopup.cxx b/svx/source/sidebar/line/LineWidthPopup.cxx index 351d12d11bc3..dcef64e798f6 100644 --- a/svx/source/sidebar/line/LineWidthPopup.cxx +++ b/svx/source/sidebar/line/LineWidthPopup.cxx @@ -29,7 +29,7 @@ namespace svx { namespace sidebar { LineWidthPopup::LineWidthPopup ( vcl::Window* pParent, - const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator) + const ::std::function<PopupControl*(PopupContainer*)>& rControlCreator) : Popup( pParent, rControlCreator, diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx index 3bd6246a5fcf..8c0e855f5133 100644 --- a/svx/source/sidebar/tools/Popup.cxx +++ b/svx/source/sidebar/tools/Popup.cxx @@ -27,7 +27,7 @@ namespace svx { namespace sidebar { Popup::Popup ( vcl::Window* pParent, - const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator, + const ::std::function<PopupControl* (PopupContainer*)>& rControlCreator, const ::rtl::OUString& rsAccessibleName) : mxControl(), mpParent(pParent), @@ -89,7 +89,7 @@ void Popup::Hide() mxContainer->EndPopupMode(); } -void Popup::SetPopupModeEndHandler (const ::boost::function<void()>& rCallback) +void Popup::SetPopupModeEndHandler (const ::std::function<void ()>& rCallback) { maPopupModeEndCallback = rCallback; if (mxContainer) |