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

sc: replace boost::function with std::function

Change-Id: Ic98b20eabdc0e62078b28ab0219b00b67e8e1099
üst 4cf0869b
......@@ -24,7 +24,7 @@ namespace sc { namespace sidebar {
CellBorderStylePopup::CellBorderStylePopup (
vcl::Window* pParent,
const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator)
const ::std::function<svx::sidebar::PopupControl* (svx::sidebar::PopupContainer*)>& rControlCreator)
: Popup(pParent, rControlCreator, ::OUString("CellBorderStyle"))
{
}
......
......@@ -20,7 +20,8 @@
#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLBORDERSTYLEPOPUP_HXX
#include <svx/sidebar/Popup.hxx>
#include <boost/function.hpp>
#include <functional>
namespace sc { namespace sidebar {
......@@ -29,7 +30,7 @@ class CellBorderStylePopup : public svx::sidebar::Popup
public:
CellBorderStylePopup(
vcl::Window* pParent,
const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator);
const ::std::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator);
virtual ~CellBorderStylePopup();
};
......
......@@ -24,7 +24,7 @@ namespace sc { namespace sidebar {
CellLineStylePopup::CellLineStylePopup (
vcl::Window* pParent,
const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator)
const ::std::function<svx::sidebar::PopupControl* (svx::sidebar::PopupContainer*)>& rControlCreator)
: Popup(pParent, rControlCreator, OUString("CellLineStyle"))
{
}
......
......@@ -20,7 +20,8 @@
#define INCLUDED_SC_SOURCE_UI_SIDEBAR_CELLLINESTYLEPOPUP_HXX
#include <svx/sidebar/Popup.hxx>
#include <boost/function.hpp>
#include <functional>
namespace sc { namespace sidebar {
......@@ -29,7 +30,7 @@ class CellLineStylePopup : public svx::sidebar::Popup
public:
CellLineStylePopup(
vcl::Window* pParent,
const ::boost::function<svx::sidebar::PopupControl*(svx::sidebar::PopupContainer*)>& rControlCreator);
const ::std::function<svx::sidebar::PopupControl* (svx::sidebar::PopupContainer*)>& rControlCreator);
virtual ~CellLineStylePopup();
void SetLineStyleSelect(sal_uInt16 out, sal_uInt16 in, sal_uInt16 dis);
......
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