Tag: cws_src680_odbmacros2 User: fs Date: 2008-02-06 21:43:14+0000 Modified: dba/dbaccess/inc/singledoccontroller.hxx
Log: #i49133# don't support XScriptInvocationContext if our associated document does not support XEmbeddedScripts File Changes: Directory: /dba/dbaccess/inc/ ============================= File [changed]: singledoccontroller.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/inc/singledoccontroller.hxx?r1=1.2.98.2&r2=1.2.98.3 Delta lines: +14 -6 -------------------- --- singledoccontroller.hxx 2007-12-18 21:20:41+0000 1.2.98.2 +++ singledoccontroller.hxx 2008-02-06 21:43:12+0000 1.2.98.3 @@ -4,9 +4,9 @@ * * $RCSfile: singledoccontroller.hxx,v $ * - * $Revision: 1.2.98.2 $ + * $Revision: 1.2.98.3 $ * - * last change: $Author: fs $ $Date: 2007/12/18 21:20:41 $ + * last change: $Author: fs $ $Date: 2008/02/06 21:43:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -82,14 +82,16 @@ protected: SfxUndoManager m_aUndoManager; - protected: - // ---------------------------------------------------------------- - // initalizing members + private: /** forces usage of a connection which we do not own - <p>To be used from within XInitialization::initialize only.</p> + <p>To be used from within XInitialization::initialize, resp. impl_initialize, only.</p> */ void initializeConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxForeignConn ); + protected: + // OGenericUnoController - initialization + virtual void impl_initialize(); + // state of a feature. 'feature' may be the handle of a ::com::sun::star::util::URL somebody requested a dispatch interface for OR a toolbar slot. virtual FeatureState GetState(sal_uInt16 nId) const; // execute a feature @@ -201,6 +203,12 @@ // OComponentHelper virtual void SAL_CALL disposing(); + // XInterface + virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException); + + // XTypeProvider + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException); + private: OSingleDocumentController(); // never implemented }; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
