summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorThorsten Behrens <thb@documentfoundation.org>2014-12-04 20:39:09 +0100
committerThorsten Behrens <thb@documentfoundation.org>2014-12-05 16:17:24 +0100
commit7d68c0f5ade7b7324b5a2d03bca042019dfd27f5 (patch)
tree7e07b126a48468e9c09a8ced6d48678993566da6 /dbaccess
parentc17ca4c2088a7092733b67a509b5c0afb799c293 (diff)
Slightly less verbose adaptation to boost-1.56.0
This fixes up 45dfbdca6a9afba1a6aef21623ec025ded635a4d Change-Id: I754fec5c94d51cbae69ad1155f57b0bb53788ba5
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index 1536dfe56924..ef36c4d13959 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -1396,8 +1396,7 @@ void OTableController::assignTable()
setEditable( xMeta.is() && !xMeta->isReadOnly() && (isAlterAllowed() || isDropAllowed() || isAddAllowed()) );
if(!isEditable())
{
- bool t( true );
- ::std::for_each(m_vRowList.begin(),m_vRowList.end(),boost::bind( &OTableRow::SetReadOnly, _1, boost::cref( t )));
+ ::std::for_each(m_vRowList.begin(),m_vRowList.end(),boost::bind( &OTableRow::SetReadOnly, _1, true));
}
m_bNew = false;
// be notified when the table is in disposing