From d5d218b51b2232b7021c99e8a3ab1772ea2e316a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Sch=C3=B6nheit?= Date: Tue, 31 Oct 2000 13:09:13 +0000 Subject: [PATCH] minor changes to make our compilers happy ... --- dbaccess/source/ui/browser/brwctrlr.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index 7e87881d8617..8353fcac2de1 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.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fs $ $Date: 2000-10-31 10:00:53 $ + * last change: $Author: fs $ $Date: 2000-10-31 14:09:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1230,7 +1230,7 @@ void SbaXDataBrowserController::dispose() ::com::sun::star::lang::EventObject aDisposeEvent; aDisposeEvent.Source = (::com::sun::star::lang::XComponent*)this; -#ifdef DEBUG +#ifdef DBG_UTIL sal_Int32 nSize = m_arrStatusListener.size(); #endif rCurrent.xListener->disposing(aDisposeEvent); @@ -2380,10 +2380,10 @@ IMPL_LINK(SbaXDataBrowserController, OnFoundData, FmFoundRecordInformation*, pIn { Reference< XInterface > xCurrent(*(Reference< XInterface > *)aColumnControls->getByIndex(nViewPos).getValue(), UNO_QUERY); if (IsSearchableControl(xCurrent)) - if (!pInfo->nFieldPos) - break; - else + if (pInfo->nFieldPos) --pInfo->nFieldPos; + else + break; } Reference< ::com::sun::star::form::XGrid > xGrid(m_pContent->getGridControl(), UNO_QUERY);