summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-01 08:57:13 +0200
committerNoel Grandin <noel@peralex.com>2016-02-01 10:13:30 +0200
commit5805be0b349ebb1be6a3613368bffc63644b1c84 (patch)
tree0c9ae96ee416d3db684279bdc53aba54d5157490 /dbaccess/source/ui
parent0dfcb858c1e863f6df225ae774bb567f8cfe00c9 (diff)
boost::mem_fn->std::mem_fn in dbaccess
Change-Id: I9156e106d12b670e94bab899a4f67a35701ae5ac
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 97fd96e8dc1d..fbdbe931cf27 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -67,9 +67,6 @@
#include <tools/diagnose_ex.h>
#include <vcl/layout.hxx>
-#include <boost/mem_fn.hpp>
-#include <boost/bind.hpp>
-
#include <algorithm>
#include <functional>
@@ -193,14 +190,14 @@ FeatureState OTableController::GetState(sal_uInt16 _nId) const
aReturn.bEnabled = true;
break;
case ID_BROWSER_SAVEDOC:
- aReturn.bEnabled = isEditable() && ::std::any_of(m_vRowList.begin(),m_vRowList.end(),::boost::mem_fn(&OTableRow::isValid));
+ aReturn.bEnabled = isEditable() && ::std::any_of(m_vRowList.begin(),m_vRowList.end(),::std::mem_fn(&OTableRow::isValid));
break;
case ID_BROWSER_SAVEASDOC:
aReturn.bEnabled = isConnected() && isEditable();
if ( aReturn.bEnabled )
{
aReturn.bEnabled = ::std::any_of(m_vRowList.begin(),m_vRowList.end(),
- ::boost::mem_fn(&OTableRow::isValid));
+ ::std::mem_fn(&OTableRow::isValid));
}
break;
@@ -223,7 +220,7 @@ FeatureState OTableController::GetState(sal_uInt16 _nId) const
if ( aReturn.bEnabled )
{
aReturn.bEnabled = ::std::any_of(m_vRowList.begin(),m_vRowList.end(),
- ::boost::mem_fn(&OTableRow::isValid));
+ ::std::mem_fn(&OTableRow::isValid));
}
break;
default:
@@ -552,7 +549,7 @@ sal_Bool SAL_CALL OTableController::suspend(sal_Bool /*_bSuspend*/) throw( Runti
if ( isModified() )
{
if ( ::std::any_of(m_vRowList.begin(),m_vRowList.end(),
- ::boost::mem_fn(&OTableRow::isValid)) )
+ ::std::mem_fn(&OTableRow::isValid)) )
{
ScopedVclPtrInstance<MessageDialog> aQry(getView(), "TableDesignSaveModifiedDialog",
"dbaccess/ui/tabledesignsavemodifieddialog.ui");