diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-01-24 17:32:45 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-01-24 17:32:45 +0000 |
commit | f86284fab553951bd3e76729125293f199ccbb0d (patch) | |
tree | a67301808d47e49fed72a08d0b6b21586260781e /dbaccess/source/ui/querydesign/JoinController.cxx | |
parent | 871c1192f4d5971b3e2e796fddb4cdbd79a68875 (diff) |
incorporate the improvements suggested during code review of genericcontroller.*
Diffstat (limited to 'dbaccess/source/ui/querydesign/JoinController.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/JoinController.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx index acd4bdb9d..fbe519654 100644 --- a/dbaccess/source/ui/querydesign/JoinController.cxx +++ b/dbaccess/source/ui/querydesign/JoinController.cxx @@ -2,9 +2,9 @@ * * $RCSfile: JoinController.cxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: fs $ $Date: 2002-01-24 17:43:35 $ + * last change: $Author: fs $ $Date: 2002-01-24 18:32:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -314,7 +314,7 @@ FeatureState OJoinController::GetState(sal_uInt16 _nId) const aReturn.bEnabled = isConnected() && m_bModified; break; case ID_BROWSER_ADDTABLE: - if(aReturn.bEnabled = getJoinView()->getTableView()->IsAddAllowed()) + if (aReturn.bEnabled = const_cast< OJoinController* >( this )->getJoinView()->getTableView()->IsAddAllowed()) aReturn.aState = ::cppu::bool2any(m_pAddTabDlg && m_pAddTabDlg->IsVisible()); else aReturn.aState = ::cppu::bool2any(sal_False); |