sc: replace boost::function with std::function
Change-Id: Ic98b20eabdc0e62078b28ab0219b00b67e8e1099
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user