summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJörg Sonnenberger <joerg@NetBSD.org>2014-08-28 12:18:43 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-08-29 10:10:15 +0100
commit45dfbdca6a9afba1a6aef21623ec025ded635a4d (patch)
tree95295133c3d2872825081cb0b6e3984c4f437454 /dbaccess
parentc6270de939d5ee51b61dc4ac02c52f1d9b5b1e47 (diff)
Fix build with boost-1.56.0.
Change-Id: I61686bf61ff1e0561c385492c563e4495456ca47 Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/tabledesign/TableController.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx
index d51d1bc0e2a6..14f24e6ee3e3 100644
--- a/dbaccess/source/ui/tabledesign/TableController.cxx
+++ b/dbaccess/source/ui/tabledesign/TableController.cxx
@@ -1396,7 +1396,8 @@ void OTableController::assignTable()
setEditable( xMeta.is() && !xMeta->isReadOnly() && (isAlterAllowed() || isDropAllowed() || isAddAllowed()) );
if(!isEditable())
{
- ::std::for_each(m_vRowList.begin(),m_vRowList.end(),boost::bind( &OTableRow::SetReadOnly, _1, boost::cref( sal_True )));
+ sal_Bool t( sal_True );
+ ::std::for_each(m_vRowList.begin(),m_vRowList.end(),boost::bind( &OTableRow::SetReadOnly, _1, boost::cref( t )));
}
m_bNew = false;
// be notified when the table is in disposing