summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-06-28 13:26:45 +0000
committerOcke Janssen <oj@openoffice.org>2001-06-28 13:26:45 +0000
commit2e91342770e3d84129070b1b92379a90d97cebb4 (patch)
treefe64fea49be4718ea3be22b4b1dc723411a3c724 /dbaccess/source/ui/browser
parentd7b87b4a40a20d2d1a542518febe44dc9809b275 (diff)
#88787# assure that the noone access objects thaould already be disposed
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r--dbaccess/source/ui/browser/brwctrlr.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx
index 15aac4994129..c57f24e6feb2 100644
--- a/dbaccess/source/ui/browser/brwctrlr.cxx
+++ b/dbaccess/source/ui/browser/brwctrlr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: brwctrlr.cxx,v $
*
- * $Revision: 1.37 $
+ * $Revision: 1.38 $
*
- * last change: $Author: rt $ $Date: 2001-06-22 10:24:09 $
+ * last change: $Author: oj $ $Date: 2001-06-28 14:26:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1474,6 +1474,8 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId)
case ID_BROWSER_ORDERCRIT:
case ID_BROWSER_FILTERCRIT:
+ if (!m_xParser.is())
+ break;
// we are not in the handle column
aReturn.bEnabled = getBrowserView()->getVclControl()->GetCurColumnId() != 0;
// a native statement can't be filtered or sorted