Tag: cws_dev300_odbmacros3
User: fs      
Date: 2008-08-02 11:48:04+0000
Modified:
   dba/dbaccess/source/core/dataaccess/databasedocument.cxx
   dba/dbaccess/source/core/dataaccess/databasedocument.hxx

Log:
 notifyDocumentEvent: allow a NoSupportException

File Changes:

Directory: /dba/dbaccess/source/core/dataaccess/
================================================

File [changed]: databasedocument.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.cxx?r1=1.40.6.17&r2=1.40.6.18
Delta lines:  +2 -2
-------------------
--- databasedocument.cxx        2008-07-30 20:50:56+0000        1.40.6.17
+++ databasedocument.cxx        2008-08-02 11:48:01+0000        1.40.6.18
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: databasedocument.cxx,v $
- * $Revision: 1.40.6.17 $
+ * $Revision: 1.40.6.18 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -914,7 +914,7 @@
 }
 
 // 
-----------------------------------------------------------------------------
-void SAL_CALL ODatabaseDocument::notifyDocumentEvent( const ::rtl::OUString& 
_EventName, const Reference< XController2 >& _ViewController, const Any& 
_Supplement ) throw (IllegalArgumentException, RuntimeException)
+void SAL_CALL ODatabaseDocument::notifyDocumentEvent( const ::rtl::OUString& 
_EventName, const Reference< XController2 >& _ViewController, const Any& 
_Supplement ) throw (IllegalArgumentException, NoSupportException, 
RuntimeException)
 {
     if ( !_EventName.getLength() )
         throw IllegalArgumentException( ::rtl::OUString(), *this, 1 );

File [changed]: databasedocument.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.hxx?r1=1.20.2.12&r2=1.20.2.13
Delta lines:  +2 -2
-------------------
--- databasedocument.hxx        2008-07-30 20:51:25+0000        1.20.2.12
+++ databasedocument.hxx        2008-08-02 11:48:01+0000        1.20.2.13
@@ -7,7 +7,7 @@
  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: databasedocument.hxx,v $
- * $Revision: 1.20.2.12 $
+ * $Revision: 1.20.2.13 $
  *
  * This file is part of OpenOffice.org.
  *
@@ -368,7 +368,7 @@
     // XDocumentEventBroadcaster
     virtual void SAL_CALL addDocumentEventListener( const 
::com::sun::star::uno::Reference< 
::com::sun::star::document::XDocumentEventListener >& _Listener ) throw 
(::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL removeDocumentEventListener( const 
::com::sun::star::uno::Reference< 
::com::sun::star::document::XDocumentEventListener >& _Listener ) throw 
(::com::sun::star::uno::RuntimeException);
-    virtual void SAL_CALL notifyDocumentEvent( const ::rtl::OUString& 
_EventName, const ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XController2 >& _ViewController, const 
::com::sun::star::uno::Any& _Supplement ) throw 
(::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL notifyDocumentEvent( const ::rtl::OUString& 
_EventName, const ::com::sun::star::uno::Reference< 
::com::sun::star::frame::XController2 >& _ViewController, const 
::com::sun::star::uno::Any& _Supplement ) throw 
(::com::sun::star::lang::IllegalArgumentException, 
::com::sun::star::lang::NoSupportException, 
::com::sun::star::uno::RuntimeException);
     
     // XPrintable
        virtual ::com::sun::star::uno::Sequence< 
::com::sun::star::beans::PropertyValue > SAL_CALL getPrinter(  ) throw 
(::com::sun::star::uno::RuntimeException) ;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to