Tag: cws_src680_dba24d User: oj Date: 2007-11-29 08:50:14+0000 Modified: dba/dbaccess/source/ui/app/AppController.cxx
Log: #i84051# return title when state is asked for OpenURL File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppController.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppController.cxx?r1=1.48.2.2&r2=1.48.2.3 Delta lines: +9 -2 ------------------- --- AppController.cxx 2007-11-08 14:14:39+0000 1.48.2.2 +++ AppController.cxx 2007-11-29 08:50:12+0000 1.48.2.3 @@ -4,9 +4,9 @@ * * $RCSfile: AppController.cxx,v $ * - * $Revision: 1.48.2.2 $ + * $Revision: 1.48.2.3 $ * - * last change: $Author: fs $ $Date: 2007/11/08 14:14:39 $ + * last change: $Author: oj $ $Date: 2007/11/29 08:50:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -615,6 +615,11 @@ { switch (_nId) { + case SID_OPENURL: + aReturn.bEnabled = sal_True; + if ( m_xModel.is() ) + aReturn.sTitle = m_xModel->getURL(); + break; case ID_BROWSER_COPY: { sal_Int32 nCount = getContainer()->getSelectionCount(); @@ -1422,6 +1427,8 @@ implDescribeSupportedFeature( ".uno:DBShowDocPreview", SID_DB_APP_VIEW_DOC_PREVIEW, CommandGroup::VIEW ); + implDescribeSupportedFeature( ".uno:OpenUrl", SID_OPENURL, CommandGroup::APPLICATION ); + // this one should not appear under Tools->Customize->Keyboard implDescribeSupportedFeature( ".uno:DBDSImport", SID_DB_APP_DSIMPORT, CommandGroup::INTERNAL); implDescribeSupportedFeature( ".uno:DBDSExport", SID_DB_APP_DSEXPORT, CommandGroup::INTERNAL); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
