summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-28 16:49:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-28 16:49:11 +0200
commit7f7e0a668204678b06d711487137a9f8b13c91e1 (patch)
treebb1d19d5d124027c5c8f413ce93e2d38afe1e901 /dbaccess
parent96fb2453e40f97a0bffcfe7e046b4599beace152 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I2a181d1442ef3b41ecba009d160d2d18d6fb71ac
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/TableGrantCtrl.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx
index 36e595839563..6e548bb96d34 100644
--- a/dbaccess/source/ui/control/TableGrantCtrl.cxx
+++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx
@@ -470,17 +470,15 @@ Reference< XAccessible > OTableGrantControl::CreateAccessibleCell( sal_Int32 _nR
if(nColumnId != COL_TABLE_NAME)
{
TriState eState = STATE_NOCHECK;
- sal_Bool bEnable = sal_False;
TTablePrivilegeMap::const_iterator aFind = findPrivilege(_nRow);
if(aFind != m_aPrivMap.end())
{
eState = isAllowed(nColumnId,aFind->second.nRights) ? STATE_CHECK : STATE_NOCHECK;
- bEnable = isAllowed(nColumnId,aFind->second.nWithGrant);
}
else
eState = STATE_NOCHECK;
- return EditBrowseBox::CreateAccessibleCheckBoxCell( _nRow, _nColumnPos,eState,bEnable );
+ return EditBrowseBox::CreateAccessibleCheckBoxCell( _nRow, _nColumnPos,eState );
}
return EditBrowseBox::CreateAccessibleCell( _nRow, _nColumnPos );
}