Tag: cws_src680_dba30a User: fs Date: 2008-02-25 13:50:59+0000 Modified: dba/dbaccess/source/ui/browser/brwctrlr.cxx
Log: #i10000# File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: brwctrlr.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/brwctrlr.cxx?r1=1.103.10.2&r2=1.103.10.3 Delta lines: +18 -19 --------------------- --- brwctrlr.cxx 2008-02-22 12:47:47+0000 1.103.10.2 +++ brwctrlr.cxx 2008-02-25 13:50:56+0000 1.103.10.3 @@ -4,9 +4,9 @@ * * $RCSfile: brwctrlr.cxx,v $ * - * $Revision: 1.103.10.2 $ + * $Revision: 1.103.10.3 $ * - * last change: $Author: oj $ $Date: 2008/02/22 12:47:47 $ + * last change: $Author: fs $ $Date: 2008/02/25 13:50:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1845,6 +1845,21 @@ pDialog->SetCanceledNotFoundHdl( LINK( this, SbaXDataBrowserController, OnCanceledNotFound ) ); pDialog->Execute(); delete pDialog; + } + + // restore the grid's normal operating state + xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("DisplayIsSynchron"), ::comphelper::makeBoolAny(sal_Bool(sal_True))); + xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("AlwaysShowCursor"), ::comphelper::makeBoolAny(sal_Bool(sal_False))); + xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("CursorColor"), Any()); +} + +//------------------------------------------------------------------------------ +void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< PropertyValue >& /*aArgs*/) +{ + sal_Bool bSortUp = sal_True; + + switch (nId) + { case ID_BROWSER_INSERT_ROW: try { @@ -1919,24 +1934,8 @@ } } } - - break; - } - - // restore the grid's normal operating state - xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("DisplayIsSynchron"), ::comphelper::makeBoolAny(sal_Bool(sal_True))); - xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("AlwaysShowCursor"), ::comphelper::makeBoolAny(sal_Bool(sal_False))); - xModelSet->setPropertyValue(::rtl::OUString::createFromAscii("CursorColor"), Any()); -} -//------------------------------------------------------------------------------ -void SbaXDataBrowserController::Execute(sal_uInt16 nId, const Sequence< PropertyValue >& /*aArgs*/) -{ - sal_Bool bSortUp = sal_True; - - switch (nId) - { case ID_BROWSER_FILTERED: if (SaveModified()) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
