summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/DocumentMetadataAccess.hxx32
-rw-r--r--include/sfx2/Metadatable.hxx12
-rw-r--r--include/sfx2/docstoragemodifylistener.hxx4
-rw-r--r--include/sfx2/sfxbasecontroller.hxx64
-rw-r--r--include/sfx2/sfxbasemodel.hxx248
-rw-r--r--include/sfx2/sfxstatuslistener.hxx10
-rw-r--r--include/sfx2/sfxuno.hxx6
-rw-r--r--include/sfx2/sidebar/SidebarPanelBase.hxx20
-rw-r--r--include/sfx2/sidebar/Theme.hxx20
-rw-r--r--include/sfx2/stbitem.hxx22
-rw-r--r--include/sfx2/tbxctrl.hxx42
-rw-r--r--include/sfx2/unoctitm.hxx20
12 files changed, 250 insertions, 250 deletions
diff --git a/include/sfx2/DocumentMetadataAccess.hxx b/include/sfx2/DocumentMetadataAccess.hxx
index a1bc8dc65aea..18b86b821c63 100644
--- a/include/sfx2/DocumentMetadataAccess.hxx
+++ b/include/sfx2/DocumentMetadataAccess.hxx
@@ -94,37 +94,37 @@ public:
// ::com::sun::star::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XURI:
virtual OUString SAL_CALL getNamespace()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getLocalName()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XRepositorySupplier:
virtual ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XRepository > SAL_CALL getRDFRepository()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XDocumentMetadataAccess:
virtual ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XMetadatable > SAL_CALL
getElementByMetadataReference(
const ::com::sun::star::beans::StringPair & i_rReference)
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XMetadatable > SAL_CALL
getElementByURI(const ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI > & i_xURI)
throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IllegalArgumentException);
+ ::com::sun::star::lang::IllegalArgumentException, std::exception);
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI > > SAL_CALL getMetadataGraphsWithType(
const ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI > & i_xType)
throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IllegalArgumentException);
+ ::com::sun::star::lang::IllegalArgumentException, std::exception);
virtual ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI> SAL_CALL
addMetadataFile(const OUString & i_rFileName,
@@ -133,7 +133,7 @@ public:
> & i_rTypes)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::container::ElementExistException);
+ ::com::sun::star::container::ElementExistException, std::exception);
virtual ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI> SAL_CALL
importMetadataFile(::sal_Int16 i_Format,
@@ -150,23 +150,23 @@ public:
::com::sun::star::datatransfer::UnsupportedFlavorException,
::com::sun::star::container::ElementExistException,
::com::sun::star::rdf::ParseException,
- ::com::sun::star::io::IOException);
+ ::com::sun::star::io::IOException, std::exception);
virtual void SAL_CALL removeMetadataFile(
const ::com::sun::star::uno::Reference<
::com::sun::star::rdf::XURI > & i_xGraphName)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::container::NoSuchElementException);
+ ::com::sun::star::container::NoSuchElementException, std::exception);
virtual void SAL_CALL addContentOrStylesFile(
const OUString & i_rFileName)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::container::ElementExistException);
+ ::com::sun::star::container::ElementExistException, std::exception);
virtual void SAL_CALL removeContentOrStylesFile(
const OUString & i_rFileName)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::container::NoSuchElementException);
+ ::com::sun::star::container::NoSuchElementException, std::exception);
virtual void SAL_CALL loadMetadataFromStorage(
const ::com::sun::star::uno::Reference<
@@ -177,25 +177,25 @@ public:
::com::sun::star::task::XInteractionHandler> & i_xHandler)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::WrappedTargetException);
+ ::com::sun::star::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL storeMetadataToStorage(
const ::com::sun::star::uno::Reference<
::com::sun::star::embed::XStorage > & i_xStorage)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::WrappedTargetException);
+ ::com::sun::star::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL loadMetadataFromMedium(
const ::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyValue > & i_rMedium)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::WrappedTargetException);
+ ::com::sun::star::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL storeMetadataToMedium(
const ::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyValue > & i_rMedium)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::WrappedTargetException);
+ ::com::sun::star::lang::WrappedTargetException, std::exception);
private:
std::auto_ptr<DocumentMetadataAccess_Impl> m_pImpl;
diff --git a/include/sfx2/Metadatable.hxx b/include/sfx2/Metadatable.hxx
index 6bf8aad57adc..7b5aeb163007 100644
--- a/include/sfx2/Metadatable.hxx
+++ b/include/sfx2/Metadatable.hxx
@@ -147,23 +147,23 @@ public:
// ::com::sun::star::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XURI:
virtual OUString SAL_CALL getLocalName()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getNamespace()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XMetadatable:
virtual ::com::sun::star::beans::StringPair SAL_CALL getMetadataReference()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL setMetadataReference(
const ::com::sun::star::beans::StringPair & i_rReference)
throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IllegalArgumentException);
+ ::com::sun::star::lang::IllegalArgumentException, std::exception);
virtual void SAL_CALL ensureMetadataReference()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
protected:
/// get the core object corresponding to this UNO object.
diff --git a/include/sfx2/docstoragemodifylistener.hxx b/include/sfx2/docstoragemodifylistener.hxx
index a1e5d8a83f83..3be4a5ef30b2 100644
--- a/include/sfx2/docstoragemodifylistener.hxx
+++ b/include/sfx2/docstoragemodifylistener.hxx
@@ -64,10 +64,10 @@ namespace sfx2
void dispose();
// XModifyListener
- virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception);
protected:
virtual ~DocumentStorageModifyListener();
diff --git a/include/sfx2/sfxbasecontroller.hxx b/include/sfx2/sfxbasecontroller.hxx
index a414b1479a7c..b9396e4e4898 100644
--- a/include/sfx2/sfxbasecontroller.hxx
+++ b/include/sfx2/sfxbasecontroller.hxx
@@ -117,14 +117,14 @@ public:
SAL_DLLPRIVATE void ReleaseShell_Impl();
SAL_DLLPRIVATE void BorderWidthsChanged_Impl();
- css::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator( ) throw (css::uno::RuntimeException);
+ css::uno::Reference< css::task::XStatusIndicator > SAL_CALL getStatusIndicator( ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XController2
//____________________________________________________________________________________________________
- virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() throw (css::uno::RuntimeException);
- virtual OUString SAL_CALL getViewControllerName() throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() throw (css::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getViewControllerName() throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments() throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XController
@@ -143,7 +143,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL attachFrame( const css::uno::Reference< css::frame::XFrame >& xFrame ) throw( css::uno::RuntimeException ) ;
+ virtual void SAL_CALL attachFrame( const css::uno::Reference< css::frame::XFrame >& xFrame ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -158,7 +158,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL attachModel( const css::uno::Reference< css::frame::XModel >& xModel ) throw( css::uno::RuntimeException ) ;
+ virtual sal_Bool SAL_CALL attachModel( const css::uno::Reference< css::frame::XModel >& xModel ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -173,7 +173,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ) throw( css::uno::RuntimeException ) ;
+ virtual sal_Bool SAL_CALL suspend( sal_Bool bSuspend ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -188,7 +188,7 @@ public:
@onerror -
*/
- css::uno::Any SAL_CALL getViewData() throw( css::uno::RuntimeException ) ;
+ css::uno::Any SAL_CALL getViewData() throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -203,7 +203,7 @@ public:
@onerror -
*/
- void SAL_CALL restoreViewData( const css::uno::Any& aValue ) throw( css::uno::RuntimeException ) ;
+ void SAL_CALL restoreViewData( const css::uno::Any& aValue ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -218,7 +218,7 @@ public:
@onerror -
*/
- css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() throw( css::uno::RuntimeException ) ;
+ css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -233,7 +233,7 @@ public:
@onerror -
*/
- css::uno::Reference< css::frame::XModel > SAL_CALL getModel() throw( css::uno::RuntimeException ) ;
+ css::uno::Reference< css::frame::XModel > SAL_CALL getModel() throw( css::uno::RuntimeException, std::exception ) ;
//____________________________________________________________________________________________________
// XDispatchProvider
@@ -254,7 +254,7 @@ public:
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch( const css::util::URL & aURL ,
const OUString & sTargetFrameName,
- FrameSearchFlags eSearchFlags ) throw( css::uno::RuntimeException ) ;
+ FrameSearchFlags eSearchFlags ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -269,16 +269,16 @@ public:
@onerror -
*/
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescriptor ) throw( css::uno::RuntimeException ) ;
+ virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches( const css::uno::Sequence< css::frame::DispatchDescriptor >& seqDescriptor ) throw( css::uno::RuntimeException, std::exception ) ;
//____________________________________________________________________________________________________
// XControllerBorder
//____________________________________________________________________________________________________
- virtual css::frame::BorderWidths SAL_CALL getBorder() throw (css::uno::RuntimeException);
- virtual void SAL_CALL addBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException);
- virtual css::awt::Rectangle SAL_CALL queryBorderedArea( const css::awt::Rectangle& aPreliminaryRectangle ) throw (css::uno::RuntimeException);
+ virtual css::frame::BorderWidths SAL_CALL getBorder() throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeBorderResizeListener( const css::uno::Reference< css::frame::XBorderResizeListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
+ virtual css::awt::Rectangle SAL_CALL queryBorderedArea( const css::awt::Rectangle& aPreliminaryRectangle ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XComponent
@@ -297,7 +297,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL dispose() throw( css::uno::RuntimeException ) ;
+ virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -312,7 +312,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException ) ;
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -327,28 +327,28 @@ public:
@onerror -
*/
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException ) ;
- virtual void SAL_CALL registerContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException );
- virtual void SAL_CALL releaseContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException );
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw( css::uno::RuntimeException, std::exception ) ;
+ virtual void SAL_CALL registerContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL releaseContextMenuInterceptor( const css::uno::Reference< css::ui::XContextMenuInterceptor >& xInterceptor ) throw( css::uno::RuntimeException, std::exception );
- virtual void SAL_CALL addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XDispatchInformationProvider
//____________________________________________________________________________________________________
- virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (css::uno::RuntimeException);
+ virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (css::uno::RuntimeException, std::exception);
// css::frame::XTitle
- virtual OUString SAL_CALL getTitle( ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL setTitle( const OUString& sTitle ) throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getTitle( ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL setTitle( const OUString& sTitle ) throw (css::uno::RuntimeException, std::exception);
// css::frame::XTitleChangeBroadcaster
- virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
// FIXME: TL needs this in sw/source/ui/uno/unotxdoc.cxx now;
// either the _Impl name should vanish or there should be an "official" API
diff --git a/include/sfx2/sfxbasemodel.hxx b/include/sfx2/sfxbasemodel.hxx
index 262a9f681ed0..8b5b17a0e02c 100644
--- a/include/sfx2/sfxbasemodel.hxx
+++ b/include/sfx2/sfxbasemodel.hxx
@@ -229,7 +229,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) throw( css::uno::RuntimeException ) ;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short increment refcount
@@ -280,7 +280,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw( css::uno::RuntimeException ) ;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short get implementation id
@@ -296,7 +296,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw( css::uno::RuntimeException ) ;
+ virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw( css::uno::RuntimeException, std::exception ) ;
//____________________________________________________________________________________________________
@@ -306,28 +306,28 @@ public:
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
- virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer() throw( css::uno::RuntimeException );
+ virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getLibraryContainer() throw( css::uno::RuntimeException, std::exception );
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL createLibrary( const OUString& LibName, const OUString& Password,
const OUString& ExternalSourceURL, const OUString& LinkTargetURL )
- throw(css::container::ElementExistException, css::uno::RuntimeException);
+ throw(css::container::ElementExistException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL addModule( const OUString& LibraryName, const OUString& ModuleName,
const OUString& Language, const OUString& Source )
- throw( css::container::NoSuchElementException, css::uno::RuntimeException);
+ throw( css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@seealso XStarBasicAccess
*/
virtual void SAL_CALL addDialog( const OUString& LibraryName, const OUString& DialogName,
const css::uno::Sequence< sal_Int8 >& Data )
- throw(css::container::NoSuchElementException, css::uno::RuntimeException);
+ throw(css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
@@ -347,7 +347,7 @@ public:
@onerror -
*/
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() throw( css::uno::RuntimeException ) ;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -363,7 +363,7 @@ public:
*/
virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& xParent ) throw(css::lang::NoSupportException,
- css::uno::RuntimeException);
+ css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XComponent
@@ -382,7 +382,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -397,7 +397,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener) throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -412,12 +412,12 @@ public:
@onerror -
*/
- virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception);
// XDocumentPropertiesSupplier
virtual css::uno::Reference< css::document::XDocumentProperties >
SAL_CALL getDocumentProperties()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XEventListener
@@ -436,7 +436,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XModel
@@ -457,7 +457,7 @@ public:
virtual sal_Bool SAL_CALL attachResource(const OUString& sURL,
const css::uno::Sequence< css::beans::PropertyValue >& aArgs)
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -472,7 +472,7 @@ public:
@onerror -
*/
- virtual OUString SAL_CALL getURL() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getURL() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -487,7 +487,7 @@ public:
@onerror -
*/
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs() throw (css::uno::RuntimeException);
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getArgs() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -502,7 +502,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL connectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -517,7 +517,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL disconnectController( const css::uno::Reference< css::frame::XController >& xController ) throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -532,7 +532,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL lockControllers() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL lockControllers() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -547,7 +547,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL unlockControllers() throw (css::uno::RuntimeException);
+ virtual void SAL_CALL unlockControllers() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -562,7 +562,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL hasControllersLocked() throw (css::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasControllersLocked() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -577,7 +577,7 @@ public:
@onerror -
*/
- virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::frame::XController > SAL_CALL getCurrentController() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -593,7 +593,7 @@ public:
*/
virtual void SAL_CALL setCurrentController( const css::uno::Reference< css::frame::XController >& xController )
- throw (css::container::NoSuchElementException, css::uno::RuntimeException);
+ throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -608,36 +608,36 @@ public:
@onerror -
*/
- virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getCurrentSelection() throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XModel2
//____________________________________________________________________________________________________
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL getControllers()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableViewControllerNames()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createDefaultViewController(const css::uno::Reference< css::frame::XFrame >& Frame )
throw (css::uno::RuntimeException ,
css::lang::IllegalArgumentException,
- css::uno::Exception );
+ css::uno::Exception, std::exception );
virtual css::uno::Reference< css::frame::XController2 > SAL_CALL createViewController(const OUString& ViewName ,
const css::uno::Sequence< css::beans::PropertyValue >& Arguments ,
const css::uno::Reference< css::frame::XFrame >& Frame )
throw (css::uno::RuntimeException ,
css::lang::IllegalArgumentException,
- css::uno::Exception );
+ css::uno::Exception, std::exception );
//____________________________________________________________________________________________________
// XModifiable2
//____________________________________________________________________________________________________
- virtual ::sal_Bool SAL_CALL disableSetModified( ) throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL enableSetModified( ) throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL isSetModifiedEnabled( ) throw (css::uno::RuntimeException);
+ virtual ::sal_Bool SAL_CALL disableSetModified( ) throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL enableSetModified( ) throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL isSetModifiedEnabled( ) throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -652,7 +652,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL isModified() throw (css::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL isModified() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -668,7 +668,7 @@ public:
*/
virtual void SAL_CALL setModified( sal_Bool bModified )
- throw (css::beans::PropertyVetoException, css::uno::RuntimeException);
+ throw (css::beans::PropertyVetoException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -683,7 +683,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) throw( css::uno::RuntimeException ) ;
+ virtual void SAL_CALL addModifyListener( const css::uno::Reference< css::util::XModifyListener >& xListener ) throw( css::uno::RuntimeException, std::exception ) ;
/**___________________________________________________________________________________________________
@short -
@@ -698,27 +698,27 @@ public:
@onerror -
*/
- virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > & xListener) throw( css::uno::RuntimeException ) ;
+ virtual void SAL_CALL removeModifyListener(const css::uno::Reference< css::util::XModifyListener > & xListener) throw( css::uno::RuntimeException, std::exception ) ;
//____________________________________________________________________________________________________
// XCloseable
//____________________________________________________________________________________________________
- virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) throw (css::util::CloseVetoException, css::uno::RuntimeException);
+ virtual void SAL_CALL close( sal_Bool bDeliverOwnership ) throw (css::util::CloseVetoException, css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XCloseBroadcaster
//____________________________________________________________________________________________________
- virtual void SAL_CALL addCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL addCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeCloseListener( const css::uno::Reference< css::util::XCloseListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XPrintJobBroadcaster
//____________________________________________________________________________________________________
- virtual void SAL_CALL addPrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removePrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException);
+ virtual void SAL_CALL addPrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removePrintJobListener( const css::uno::Reference< css::view::XPrintJobListener >& xListener ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XPrintable
@@ -737,7 +737,7 @@ public:
@onerror -
*/
- virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter() throw (css::uno::RuntimeException);
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPrinter() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -753,7 +753,7 @@ public:
*/
virtual void SAL_CALL setPrinter( const css::uno::Sequence< css::beans::PropertyValue >& seqPrinter )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@descr -
@@ -768,14 +768,14 @@ public:
*/
virtual void SAL_CALL print( const css::uno::Sequence< css::beans::PropertyValue >& seqOptions )
- throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XStorable2
//____________________________________________________________________________________________________
virtual void SAL_CALL storeSelf( const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException);
+ throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XStorable
@@ -794,7 +794,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL hasLocation() throw (css::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL hasLocation() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -809,7 +809,7 @@ public:
@onerror -
*/
- virtual OUString SAL_CALL getLocation() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getLocation() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -824,7 +824,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL isReadonly() throw (css::uno::RuntimeException);
+ virtual sal_Bool SAL_CALL isReadonly() throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -839,7 +839,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL store() throw (css::io::IOException, css::uno::RuntimeException);
+ virtual void SAL_CALL store() throw (css::io::IOException, css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -856,7 +856,7 @@ public:
virtual void SAL_CALL storeAsURL( const OUString& sURL,
const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::io::IOException, css::uno::RuntimeException) ;
+ throw (css::io::IOException, css::uno::RuntimeException, std::exception) ;
/**___________________________________________________________________________________________________
@short -
@@ -873,7 +873,7 @@ public:
virtual void SAL_CALL storeToURL( const OUString& sURL,
const css::uno::Sequence< css::beans::PropertyValue >& seqArguments )
- throw (css::io::IOException, css::uno::RuntimeException);
+ throw (css::io::IOException, css::uno::RuntimeException, std::exception);
@@ -898,7 +898,7 @@ public:
throw (css::frame::DoubleInitializationException,
css::io::IOException,
css::uno::RuntimeException,
- css::uno::Exception);
+ css::uno::Exception, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -917,17 +917,17 @@ public:
throw (css::frame::DoubleInitializationException,
css::io::IOException,
css::uno::RuntimeException,
- css::uno::Exception);
+ css::uno::Exception, std::exception);
//____________________________________________________________________________________________________
// XDocumentSubStorageSupplier
//____________________________________________________________________________________________________
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentSubStorage( const OUString& aStorageName, sal_Int32 nMode )
- throw ( css::uno::RuntimeException );
+ throw ( css::uno::RuntimeException, std::exception );
virtual css::uno::Sequence< OUString > SAL_CALL getDocumentSubStoragesNames()
- throw ( css::io::IOException, css::uno::RuntimeException );
+ throw ( css::io::IOException, css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XStorageBasedDocument
@@ -939,33 +939,33 @@ public:
com::sun::star::frame::DoubleInitializationException,
css::io::IOException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual void SAL_CALL storeToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage,
const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescriptor )
throw ( css::lang::IllegalArgumentException,
css::io::IOException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual void SAL_CALL switchToStorage( const css::uno::Reference< css::embed::XStorage >& xStorage )
throw ( css::lang::IllegalArgumentException,
css::io::IOException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual css::uno::Reference< css::embed::XStorage > SAL_CALL getDocumentStorage()
throw ( css::io::IOException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual void SAL_CALL addStorageChangeListener(
const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw ( css::uno::RuntimeException );
+ throw ( css::uno::RuntimeException, std::exception );
virtual void SAL_CALL removeStorageChangeListener(
const css::uno::Reference< css::document::XStorageChangeListener >& xListener )
- throw ( css::uno::RuntimeException );
+ throw ( css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XVisualObject
@@ -975,34 +975,34 @@ public:
throw ( css::lang::IllegalArgumentException,
css::embed::WrongStateException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual css::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect )
throw ( css::lang::IllegalArgumentException,
css::embed::WrongStateException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect )
throw ( css::lang::IllegalArgumentException,
css::embed::WrongStateException,
css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect )
throw ( css::uno::Exception,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XScriptProviderSupplier
//____________________________________________________________________________________________________
- virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider() throw ( css::uno::RuntimeException );
+ virtual css::uno::Reference< css::script::provider::XScriptProvider > SAL_CALL getScriptProvider() throw ( css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XUIConfigurationManagerSupplier
//____________________________________________________________________________________________________
- virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager() throw ( css::uno::RuntimeException );
+ virtual css::uno::Reference< css::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager() throw ( css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XTransferable
@@ -1024,7 +1024,7 @@ public:
virtual css::uno::Any SAL_CALL getTransferData( const css::datatransfer::DataFlavor& aFlavor )
throw (css::datatransfer::UnsupportedFlavorException,
css::io::IOException,
- css::uno::RuntimeException);
+ css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -1041,7 +1041,7 @@ public:
virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
/**___________________________________________________________________________________________________
@short -
@@ -1057,7 +1057,7 @@ public:
*/
virtual sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
@@ -1077,22 +1077,22 @@ public:
@onerror -
*/
- virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() throw( css::uno::RuntimeException );
+ virtual css::uno::Reference< css::container::XNameReplace > SAL_CALL getEvents() throw( css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XEmbeddedScripts
//____________________________________________________________________________________________________
- virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries() throw (css::uno::RuntimeException);
- virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL getAllowMacroExecution() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getBasicLibraries() throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Reference< css::script::XStorageBasedLibraryContainer > SAL_CALL getDialogLibraries() throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL getAllowMacroExecution() throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XScriptInvocationContext
//____________________________________________________________________________________________________
- virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer() throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XEventBroadcaster
@@ -1111,7 +1111,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL addEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException );
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException, std::exception );
/**___________________________________________________________________________________________________
@short -
@@ -1126,115 +1126,115 @@ public:
@onerror -
*/
- virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException );
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::document::XEventListener >& xListener ) throw( css::uno::RuntimeException, std::exception );
//____________________________________________________________________________________________________
// XDocumentEventBroadcaster
//____________________________________________________________________________________________________
- virtual void SAL_CALL addDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& _Listener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL removeDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& _Listener ) throw (css::uno::RuntimeException);
- virtual void SAL_CALL notifyDocumentEvent( const OUString& _EventName, const css::uno::Reference< css::frame::XController2 >& _ViewController, const css::uno::Any& _Supplement ) throw (css::lang::IllegalArgumentException, css::lang::NoSupportException, css::uno::RuntimeException);
+ virtual void SAL_CALL addDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& _Listener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeDocumentEventListener( const css::uno::Reference< css::document::XDocumentEventListener >& _Listener ) throw (css::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL notifyDocumentEvent( const OUString& _EventName, const css::uno::Reference< css::frame::XController2 >& _ViewController, const css::uno::Any& _Supplement ) throw (css::lang::IllegalArgumentException, css::lang::NoSupportException, css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// XUnoTunnel
//____________________________________________________________________________________________________
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException);
+ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception);
// css.frame.XModule
virtual void SAL_CALL setIdentifier(const OUString& sIdentifier)
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XModule
virtual OUString SAL_CALL getIdentifier()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XTitle
virtual OUString SAL_CALL getTitle()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XTitle
virtual void SAL_CALL setTitle( const OUString& sTitle )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XTitleChangeBroadcaster
virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XTitleChangeBroadcaster
virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.frame.XUntitledNumbers
virtual ::sal_Int32 SAL_CALL leaseNumber( const css::uno::Reference< css::uno::XInterface >& xComponent )
throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
// css.frame.XUntitledNumbers
virtual void SAL_CALL releaseNumber( ::sal_Int32 nNumber )
throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
// css.frame.XUntitledNumbers
virtual void SAL_CALL releaseNumberForComponent( const css::uno::Reference< css::uno::XInterface >& xComponent )
throw (css::lang::IllegalArgumentException,
- css::uno::RuntimeException );
+ css::uno::RuntimeException, std::exception );
// css.frame.XUntitledNumbers
virtual OUString SAL_CALL getUntitledPrefix()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css.document.XDocumentRecovery
virtual ::sal_Bool SAL_CALL wasModifiedSinceLastSave()
- throw ( css::uno::RuntimeException );
+ throw ( css::uno::RuntimeException, std::exception );
virtual void SAL_CALL storeToRecoveryFile( const OUString& i_TargetLocation, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor )
throw ( css::uno::RuntimeException,
css::io::IOException,
- css::lang::WrappedTargetException );
+ css::lang::WrappedTargetException, std::exception );
virtual void SAL_CALL recoverFromFile( const OUString& i_SourceLocation, const OUString& i_SalvagedFile, const css::uno::Sequence< css::beans::PropertyValue >& i_MediaDescriptor )
throw ( css::uno::RuntimeException,
css::io::IOException,
- css::lang::WrappedTargetException );
+ css::lang::WrappedTargetException, std::exception );
// css.document.XUndoManagerSupplier
- virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager( ) throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager( ) throw (css::uno::RuntimeException, std::exception);
//____________________________________________________________________________________________________
// css::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css::rdf::XURI:
virtual OUString SAL_CALL getNamespace()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getLocalName()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css::rdf::XRepositorySupplier:
virtual css::uno::Reference<
css::rdf::XRepository > SAL_CALL getRDFRepository()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
// css::rdf::XDocumentMetadataAccess:
virtual css::uno::Reference<
css::rdf::XMetadatable > SAL_CALL
getElementByMetadataReference(
const css::beans::StringPair & i_rReference)
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual css::uno::Reference<
css::rdf::XMetadatable > SAL_CALL
getElementByURI(const css::uno::Reference<
css::rdf::XURI > & i_xURI)
throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException);
+ css::lang::IllegalArgumentException, std::exception);
virtual css::uno::Sequence< css::uno::Reference<
css::rdf::XURI > > SAL_CALL getMetadataGraphsWithType(
const css::uno::Reference<
css::rdf::XURI > & i_xType)
throw (css::uno::RuntimeException,
- css::lang::IllegalArgumentException);
+ css::lang::IllegalArgumentException, std::exception);
virtual css::uno::Reference<
css::rdf::XURI> SAL_CALL
addMetadataFile(const OUString & i_rFileName,
@@ -1243,7 +1243,7 @@ public:
> & i_rTypes)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::container::ElementExistException);
+ css::container::ElementExistException, std::exception);
virtual css::uno::Reference<
css::rdf::XURI> SAL_CALL
importMetadataFile(::sal_Int16 i_Format,
@@ -1260,23 +1260,23 @@ public:
css::datatransfer::UnsupportedFlavorException,
css::container::ElementExistException,
css::rdf::ParseException,
- css::io::IOException);
+ css::io::IOException, std::exception);
virtual void SAL_CALL removeMetadataFile(
const css::uno::Reference<
css::rdf::XURI > & i_xGraphName)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::container::NoSuchElementException);
+ css::container::NoSuchElementException, std::exception);
virtual void SAL_CALL addContentOrStylesFile(
const OUString & i_rFileName)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::container::ElementExistException);
+ css::container::ElementExistException, std::exception);
virtual void SAL_CALL removeContentOrStylesFile(
const OUString & i_rFileName)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::container::NoSuchElementException);
+ css::container::NoSuchElementException, std::exception);
virtual void SAL_CALL loadMetadataFromStorage(
const css::uno::Reference<
@@ -1287,53 +1287,53 @@ public:
css::task::XInteractionHandler> & i_xHandler)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException);
+ css::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL storeMetadataToStorage(
const css::uno::Reference<
css::embed::XStorage > & i_xStorage)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException);
+ css::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL loadMetadataFromMedium(
const css::uno::Sequence<
css::beans::PropertyValue > & i_rMedium)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException);
+ css::lang::WrappedTargetException, std::exception);
virtual void SAL_CALL storeMetadataToMedium(
const css::uno::Sequence<
css::beans::PropertyValue > & i_rMedium)
throw (css::uno::RuntimeException,
css::lang::IllegalArgumentException,
- css::lang::WrappedTargetException);
+ css::lang::WrappedTargetException, std::exception);
// XCmisDocument
virtual css::uno::Sequence< css::document::CmisProperty >
SAL_CALL getCmisProperties()
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual void SAL_CALL setCmisProperties(
const css::uno::Sequence<
css::document::CmisProperty >& _cmisproperties )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual void SAL_CALL updateCmisProperties(
const css::uno::Sequence<
css::document::CmisProperty >& _cmisproperties )
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
virtual css::uno::Sequence< css::document::CmisVersion > SAL_CALL getAllVersions ( )
- throw (css::uno::RuntimeException );
+ throw (css::uno::RuntimeException, std::exception );
- virtual void SAL_CALL checkOut( ) throw ( css::uno::RuntimeException );
- virtual void SAL_CALL cancelCheckOut( ) throw ( css::uno::RuntimeException );
+ virtual void SAL_CALL checkOut( ) throw ( css::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL cancelCheckOut( ) throw ( css::uno::RuntimeException, std::exception );
virtual void SAL_CALL checkIn( sal_Bool bIsMajor, const OUString & rMessage )
- throw ( css::uno::RuntimeException );
+ throw ( css::uno::RuntimeException, std::exception );
- virtual sal_Bool SAL_CALL isVersionable( ) throw ( css::uno::RuntimeException );
- virtual sal_Bool SAL_CALL canCheckOut( ) throw ( css::uno::RuntimeException );
- virtual sal_Bool SAL_CALL canCancelCheckOut( ) throw ( css::uno::RuntimeException );
- virtual sal_Bool SAL_CALL canCheckIn( ) throw ( css::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL isVersionable( ) throw ( css::uno::RuntimeException, std::exception );
+ virtual sal_Bool SAL_CALL canCheckOut( ) throw ( css::uno::RuntimeException, std::exception );
+ virtual sal_Bool SAL_CALL canCancelCheckOut( ) throw ( css::uno::RuntimeException, std::exception );
+ virtual sal_Bool SAL_CALL canCheckIn( ) throw ( css::uno::RuntimeException, std::exception );
sal_Bool getBoolPropertyValue( const OUString& rName ) throw ( css::uno::RuntimeException );
@@ -1397,8 +1397,8 @@ public:
void MethodEntryCheck( const bool i_mustBeInitialized ) const;
::osl::Mutex& getMutex() const { return m_aMutex; }
- css::uno::Reference < css::container::XIndexAccess > SAL_CALL getViewData() throw (css::uno::RuntimeException);
- void SAL_CALL setViewData( const css::uno::Reference < css::container::XIndexAccess >& aData ) throw (css::uno::RuntimeException);
+ css::uno::Reference < css::container::XIndexAccess > SAL_CALL getViewData() throw (css::uno::RuntimeException, std::exception);
+ void SAL_CALL setViewData( const css::uno::Reference < css::container::XIndexAccess >& aData ) throw (css::uno::RuntimeException, std::exception);
/** calls all XEventListeners */
void notifyEvent( const css::document::EventObject& aEvent ) const;
diff --git a/include/sfx2/sfxstatuslistener.hxx b/include/sfx2/sfxstatuslistener.hxx
index d404f47ee821..44ad0b631edd 100644
--- a/include/sfx2/sfxstatuslistener.hxx
+++ b/include/sfx2/sfxstatuslistener.hxx
@@ -59,15 +59,15 @@ class SFX2_DLLPUBLIC SfxStatusListener : public ::cppu::WeakImplHelper2<
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
// XComponent
- virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception);
// XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XStatusListener
- virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception );
private:
SfxStatusListener( const SfxStatusListener& );
diff --git a/include/sfx2/sfxuno.hxx b/include/sfx2/sfxuno.hxx
index 1d8f800baddb..e1c27ec5a91f 100644
--- a/include/sfx2/sfxuno.hxx
+++ b/include/sfx2/sfxuno.hxx
@@ -80,9 +80,9 @@ typedef sal_Int32 FrameSearchFlags;
// static xxx::impl_createInstance()
#define SFX_DECL_XSERVICEINFO_NOFACTORY \
/* XServiceInfo */ \
- virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException ); \
- virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName ) throw( css::uno::RuntimeException ); \
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); \
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ); \
+ virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName ) throw( css::uno::RuntimeException, std::exception ); \
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ); \
\
/* Helper for XServiceInfo */ \
static css::uno::Sequence< OUString > impl_getStaticSupportedServiceNames(); \
diff --git a/include/sfx2/sidebar/SidebarPanelBase.hxx b/include/sfx2/sidebar/SidebarPanelBase.hxx
index 688e1b357b78..54fd0537e0cb 100644
--- a/include/sfx2/sidebar/SidebarPanelBase.hxx
+++ b/include/sfx2/sidebar/SidebarPanelBase.hxx
@@ -69,35 +69,35 @@ public:
// XContextChangeEventListener
virtual void SAL_CALL notifyContextChangeEvent (
const css::ui::ContextChangeEventObject& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
// XEventListener
virtual void SAL_CALL disposing (
const css::lang::EventObject& rEvent)
- throw (cssu::RuntimeException);
+ throw (cssu::RuntimeException, std::exception);
// XUIElement
virtual cssu::Reference<css::frame::XFrame> SAL_CALL getFrame (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual ::rtl::OUString SAL_CALL getResourceURL (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual sal_Int16 SAL_CALL getType (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual cssu::Reference<cssu::XInterface> SAL_CALL getRealInterface (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
// XToolPanel
virtual cssu::Reference<css::accessibility::XAccessible> SAL_CALL createAccessible (
const cssu::Reference<css::accessibility::XAccessible>& rxParentAccessible)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual cssu::Reference<css::awt::XWindow> SAL_CALL getWindow (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
// XSidebarPanel
virtual css::ui::LayoutSize SAL_CALL getHeightForWidth (sal_Int32 nWidth)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual sal_Int32 SAL_CALL getMinimalWidth ()
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
protected:
cssu::Reference<css::frame::XFrame> mxFrame;
diff --git a/include/sfx2/sidebar/Theme.hxx b/include/sfx2/sidebar/Theme.hxx
index d8cc59f9932d..466e20da0d56 100644
--- a/include/sfx2/sidebar/Theme.hxx
+++ b/include/sfx2/sidebar/Theme.hxx
@@ -163,49 +163,49 @@ public:
// beans::XPropertySet
virtual cssu::Reference<css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual void SAL_CALL setPropertyValue (
const ::rtl::OUString& rsPropertyName,
const cssu::Any& rValue)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual cssu::Any SAL_CALL getPropertyValue (
const ::rtl::OUString& rsPropertyName)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual void SAL_CALL addPropertyChangeListener(
const ::rtl::OUString& rsPropertyName,
const cssu::Reference<css::beans::XPropertyChangeListener>& rxListener)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual void SAL_CALL removePropertyChangeListener(
const ::rtl::OUString& rsPropertyName,
const cssu::Reference<css::beans::XPropertyChangeListener>& rxListener)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual void SAL_CALL addVetoableChangeListener(
const ::rtl::OUString& rsPropertyName,
const cssu::Reference<css::beans::XVetoableChangeListener>& rxListener)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual void SAL_CALL removeVetoableChangeListener(
const ::rtl::OUString& rsPropertyName,
const cssu::Reference<css::beans::XVetoableChangeListener>& rxListener)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
// beans::XPropertySetInfo
virtual cssu::Sequence<css::beans::Property> SAL_CALL getProperties (void)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
virtual css::beans::Property SAL_CALL getPropertyByName (const ::rtl::OUString& rsName)
throw(css::beans::UnknownPropertyException,
- cssu::RuntimeException);
+ cssu::RuntimeException, std::exception);
virtual sal_Bool SAL_CALL hasPropertyByName (const ::rtl::OUString& rsName)
- throw(cssu::RuntimeException);
+ throw(cssu::RuntimeException, std::exception);
private:
static Theme& GetCurrentTheme();
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index 5d840b3ff32c..2231ab0f02cc 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -67,33 +67,33 @@ class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
protected:
// new controller API
// XInterface
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL acquire() throw();
virtual void SAL_CALL release() throw();
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
- virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception);
// XStatusListener
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event )
- throw ( ::com::sun::star::uno::RuntimeException );
+ throw ( ::com::sun::star::uno::RuntimeException, std::exception );
// XStatusbarController
- virtual ::sal_Bool SAL_CALL mouseButtonDown( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL mouseMove( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL mouseButtonUp( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::sal_Bool SAL_CALL mouseButtonDown( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL mouseMove( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL mouseButtonUp( const ::com::sun::star::awt::MouseEvent& aMouseEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL command( const ::com::sun::star::awt::Point& aPos,
::sal_Int32 nCommand,
::sal_Bool bMouseEvent,
- const ::com::sun::star::uno::Any& aData ) throw (::com::sun::star::uno::RuntimeException);
+ const ::com::sun::star::uno::Any& aData ) throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL paint( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xGraphics,
const ::com::sun::star::awt::Rectangle& rOutputRectangle,
- ::sal_Int32 nStyle ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL click( const ::com::sun::star::awt::Point& aPos ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL doubleClick( const ::com::sun::star::awt::Point& aPos ) throw (::com::sun::star::uno::RuntimeException);
+ ::sal_Int32 nStyle ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL click( const ::com::sun::star::awt::Point& aPos ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL doubleClick( const ::com::sun::star::awt::Point& aPos ) throw (::com::sun::star::uno::RuntimeException, std::exception);
// Old sfx2 interface
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index ac7d66a51768..d2fbc7ac6a39 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -87,7 +87,7 @@ class SfxFrameStatusListener : public svt::FrameStatusListener
// XStatusListener
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event )
- throw ( ::com::sun::star::uno::RuntimeException );
+ throw ( ::com::sun::star::uno::RuntimeException, std::exception );
private:
SfxStatusListenerInterface* m_pCallee;
@@ -210,48 +210,48 @@ protected:
void SetPopupWindow( SfxPopupWindow* pWindow );
// XInterface
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL acquire() throw();
virtual void SAL_CALL release() throw();
// XEventListener
using ::cppu::OPropertySetHelper::disposing;
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
- virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception);
// new controller API
// XStatusListener
virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event )
- throw ( ::com::sun::star::uno::RuntimeException );
+ throw ( ::com::sun::star::uno::RuntimeException, std::exception );
// XToolbarController
virtual void SAL_CALL execute( sal_Int16 KeyModifier )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL click()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL doubleClick()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL createPopupWindow()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL createItemWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& rParent )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException, std::exception);
// XSubToolbarController
- virtual ::sal_Bool SAL_CALL opensSubToolbar( ) throw (::com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getSubToolbarName( ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL functionSelected( const OUString& aCommand ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL updateImage( ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::sal_Bool SAL_CALL opensSubToolbar( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getSubToolbarName( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL functionSelected( const OUString& aCommand ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL updateImage( ) throw (::com::sun::star::uno::RuntimeException, std::exception);
// XDockableWindowListener
- virtual void SAL_CALL startDocking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::DockingData SAL_CALL docking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL endDocking( const ::com::sun::star::awt::EndDockingEvent& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Bool SAL_CALL prepareToggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL toggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL closed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL endPopupMode( const ::com::sun::star::awt::EndPopupModeEvent& e ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL startDocking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual ::com::sun::star::awt::DockingData SAL_CALL docking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL endDocking( const ::com::sun::star::awt::EndDockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual sal_Bool SAL_CALL prepareToggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL toggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL closed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
+ virtual void SAL_CALL endPopupMode( const ::com::sun::star::awt::EndPopupModeEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception);
// helper methods
void createAndPositionSubToolBar( const OUString& rSubToolBarResName );
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 9682827f7310..855f40860d93 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -60,10 +60,10 @@ public:
{ return aCommand; }
// XStatusListener
- virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// Something else
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception );
void UnBind();
void GetNewDispatch();
void ReleaseDispatch();
@@ -90,10 +90,10 @@ public:
// XDispatch
virtual void SAL_CALL dispatchWithNotification( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchResultListener >& rListener ) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException );
+ const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchResultListener >& rListener ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl, const ::com::sun::star::util::URL& aURL) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// Something else
void ReleaseAll();
@@ -120,16 +120,16 @@ public:
virtual void SAL_CALL dispatchWithNotification( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchResultListener >& rListener )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xControl,
const ::com::sun::star::util::URL& aURL)
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException) ;
+ virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception) ;
static const ::com::sun::star::uno::Sequence< sal_Int8 >& impl_getStaticIdentifier();
static sal_Bool IsMasterUnoCommand( const ::com::sun::star::util::URL& aURL );