From 2e91342770e3d84129070b1b92379a90d97cebb4 Mon Sep 17 00:00:00 2001 From: Ocke Janssen Date: Thu, 28 Jun 2001 13:26:45 +0000 Subject: #88787# assure that the noone access objects thaould already be disposed --- dbaccess/source/ui/browser/brwctrlr.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dbaccess/source/ui/browser') 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 -- cgit