summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /UnoControls
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontainercontrol.hxx28
-rw-r--r--UnoControls/inc/basecontrol.hxx98
-rw-r--r--UnoControls/inc/multiplexer.hxx48
-rw-r--r--UnoControls/source/base/basecontainercontrol.cxx28
-rw-r--r--UnoControls/source/base/basecontrol.cxx94
-rw-r--r--UnoControls/source/base/multiplexer.cxx48
-rw-r--r--UnoControls/source/controls/OConnectionPointContainerHelper.cxx10
-rw-r--r--UnoControls/source/controls/OConnectionPointHelper.cxx12
-rw-r--r--UnoControls/source/controls/framecontrol.cxx30
-rw-r--r--UnoControls/source/controls/progressbar.cxx22
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx46
-rw-r--r--UnoControls/source/controls/statusindicator.cxx32
-rw-r--r--UnoControls/source/inc/OConnectionPointContainerHelper.hxx10
-rw-r--r--UnoControls/source/inc/OConnectionPointHelper.hxx12
-rw-r--r--UnoControls/source/inc/framecontrol.hxx30
-rw-r--r--UnoControls/source/inc/progressbar.hxx22
-rw-r--r--UnoControls/source/inc/progressmonitor.hxx46
-rw-r--r--UnoControls/source/inc/statusindicator.hxx32
18 files changed, 324 insertions, 324 deletions
diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx
index 11650824a878..6f5b7f7a5a1b 100644
--- a/UnoControls/inc/basecontainercontrol.hxx
+++ b/UnoControls/inc/basecontainercontrol.hxx
@@ -114,7 +114,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XTypeProvider
@@ -134,7 +134,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -155,7 +155,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -177,7 +177,7 @@ public:
virtual void SAL_CALL createPeer(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit ,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -194,7 +194,7 @@ public:
virtual sal_Bool SAL_CALL setModel(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -210,7 +210,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
@@ -229,7 +229,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XEventListener
@@ -248,7 +248,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEvent ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControlContainer
@@ -270,7 +270,7 @@ public:
virtual void SAL_CALL addControl(
const OUString& sName ,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xControl
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -304,7 +304,7 @@ public:
virtual void SAL_CALL removeControl(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& xControl
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -338,7 +338,7 @@ public:
virtual void SAL_CALL setStatusText(
const OUString& sStatusText
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -355,7 +355,7 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getControl(
const OUString& sName
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -371,7 +371,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > > SAL_CALL getControls()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XUnoControlContainer
@@ -461,7 +461,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// protected methods
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 68c47e69f471..55676b5f2374 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -183,7 +183,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -235,7 +235,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short get implementation id
@@ -252,7 +252,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -273,7 +273,7 @@ public:
virtual void SAL_CALL setDelegator(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xDelegator
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -290,7 +290,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XServiceInfo
@@ -311,7 +311,7 @@ public:
virtual sal_Bool SAL_CALL supportsService(
const OUString& sServiceName
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -327,7 +327,7 @@ public:
*/
virtual OUString SAL_CALL getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -343,7 +343,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
@@ -362,7 +362,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -379,7 +379,7 @@ public:
virtual void SAL_CALL addEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -396,7 +396,7 @@ public:
virtual void SAL_CALL removeEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -418,7 +418,7 @@ public:
virtual void SAL_CALL createPeer(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -435,7 +435,7 @@ public:
virtual void SAL_CALL setContext(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xContext
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -452,7 +452,7 @@ public:
virtual sal_Bool SAL_CALL setModel(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel
- ) throw( ::com::sun::star::uno::RuntimeException ) = 0 ;
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) = 0 ;
/**_______________________________________________________________________________________________________
@short -
@@ -467,7 +467,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setDesignMode( sal_Bool bOn ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setDesignMode( sal_Bool bOn ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -483,7 +483,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getContext()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -499,7 +499,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException ) = 0;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) = 0;
/**_______________________________________________________________________________________________________
@short -
@@ -515,7 +515,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > SAL_CALL getPeer()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -531,7 +531,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XView > SAL_CALL getView()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -546,7 +546,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL isDesignMode() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL isDesignMode() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -561,7 +561,7 @@ public:
@onerror -
*/
- virtual sal_Bool SAL_CALL isTransparent() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Bool SAL_CALL isTransparent() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XWindow
@@ -584,7 +584,7 @@ public:
sal_Int32 nY ,
sal_Int32 nWidth ,
sal_Int32 nHeight ,
- sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException );
+ sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -599,7 +599,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setVisible( sal_Bool bVisible ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -614,7 +614,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setEnable( sal_Bool bEnable ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -629,7 +629,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setFocus() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -644,7 +644,7 @@ public:
@onerror -
*/
- virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Rectangle SAL_CALL getPosSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -661,7 +661,7 @@ public:
virtual void SAL_CALL addWindowListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -678,7 +678,7 @@ public:
virtual void SAL_CALL addFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -695,7 +695,7 @@ public:
virtual void SAL_CALL addKeyListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -712,7 +712,7 @@ public:
virtual void SAL_CALL addMouseListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -729,7 +729,7 @@ public:
virtual void SAL_CALL addMouseMotionListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -746,7 +746,7 @@ public:
virtual void SAL_CALL addPaintListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -763,7 +763,7 @@ public:
virtual void SAL_CALL removeWindowListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -780,7 +780,7 @@ public:
virtual void SAL_CALL removeFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -797,7 +797,7 @@ public:
virtual void SAL_CALL removeKeyListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -814,7 +814,7 @@ public:
virtual void SAL_CALL removeMouseListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -831,7 +831,7 @@ public:
virtual void SAL_CALL removeMouseMotionListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -848,7 +848,7 @@ public:
virtual void SAL_CALL removePaintListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XView
@@ -868,7 +868,7 @@ public:
*/
virtual void SAL_CALL draw( sal_Int32 nX ,
- sal_Int32 nY ) throw( ::com::sun::star::uno::RuntimeException );
+ sal_Int32 nY ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -885,7 +885,7 @@ public:
virtual sal_Bool SAL_CALL setGraphics(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xDevice
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -901,7 +901,7 @@ public:
*/
virtual void SAL_CALL setZoom( float fZoomX ,
- float fZoomY ) throw( ::com::sun::star::uno::RuntimeException );
+ float fZoomY ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -917,7 +917,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -932,7 +932,7 @@ public:
@onerror -
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// ::com::sun::star::lang::XEventListener
@@ -953,7 +953,7 @@ public:
virtual void SAL_CALL disposing(
const ::com::sun::star::lang::EventObject& rSource
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XPaintListener
@@ -974,7 +974,7 @@ public:
virtual void SAL_CALL windowPaint(
const ::com::sun::star::awt::PaintEvent& rEvent
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XWindowListener
@@ -993,10 +993,10 @@ public:
@onerror -
*/
- virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL windowResized( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL windowMoved( const ::com::sun::star::awt::WindowEvent& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
+ virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& aEvent ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// impl but public method to register service
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index d712bef8e0cb..09aaebe20941 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -141,7 +141,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -294,7 +294,7 @@ public:
*/
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& aSource)
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XFocusListener
@@ -315,7 +315,7 @@ public:
*/
virtual void SAL_CALL focusGained(const ::com::sun::star::awt::FocusEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -332,7 +332,7 @@ public:
*/
virtual void SAL_CALL focusLost(const ::com::sun::star::awt::FocusEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XWindowListener
@@ -353,7 +353,7 @@ public:
*/
virtual void SAL_CALL windowResized(const ::com::sun::star::awt::WindowEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -370,7 +370,7 @@ public:
*/
virtual void SAL_CALL windowMoved(const ::com::sun::star::awt::WindowEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -387,7 +387,7 @@ public:
*/
virtual void SAL_CALL windowShown(const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -404,7 +404,7 @@ public:
*/
virtual void SAL_CALL windowHidden(const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XKeyListener
@@ -425,7 +425,7 @@ public:
*/
virtual void SAL_CALL keyPressed( const ::com::sun::star::awt::KeyEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -442,7 +442,7 @@ public:
*/
virtual void SAL_CALL keyReleased( const ::com::sun::star::awt::KeyEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XMouseListener
@@ -463,7 +463,7 @@ public:
*/
virtual void SAL_CALL mousePressed(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -480,7 +480,7 @@ public:
*/
virtual void SAL_CALL mouseReleased(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -497,7 +497,7 @@ public:
*/
virtual void SAL_CALL mouseEntered(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -514,7 +514,7 @@ public:
*/
virtual void SAL_CALL mouseExited(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XMouseMotionListener
@@ -535,7 +535,7 @@ public:
*/
virtual void SAL_CALL mouseDragged(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -552,7 +552,7 @@ public:
*/
virtual void SAL_CALL mouseMoved(const ::com::sun::star::awt::MouseEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XPaintListener
@@ -573,7 +573,7 @@ public:
*/
virtual void SAL_CALL windowPaint(const ::com::sun::star::awt::PaintEvent& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// XTopWindowListener
@@ -594,7 +594,7 @@ public:
*/
virtual void SAL_CALL windowOpened( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -611,7 +611,7 @@ public:
*/
virtual void SAL_CALL windowClosing( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -628,7 +628,7 @@ public:
*/
virtual void SAL_CALL windowClosed( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -645,7 +645,7 @@ public:
*/
virtual void SAL_CALL windowMinimized( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -662,7 +662,7 @@ public:
*/
virtual void SAL_CALL windowNormalized( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -679,7 +679,7 @@ public:
*/
virtual void SAL_CALL windowActivated( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
/**_______________________________________________________________________________________________________
@short -
@@ -696,7 +696,7 @@ public:
*/
virtual void SAL_CALL windowDeactivated( const ::com::sun::star::lang::EventObject& aEvent )
- throw( ::com::sun::star::uno::RuntimeException ) ;
+ throw( ::com::sun::star::uno::RuntimeException, std::exception ) ;
// protected methods
diff --git a/UnoControls/source/base/basecontainercontrol.cxx b/UnoControls/source/base/basecontainercontrol.cxx
index ae63f0b57730..5806504520b4 100644
--- a/UnoControls/source/base/basecontainercontrol.cxx
+++ b/UnoControls/source/base/basecontainercontrol.cxx
@@ -54,7 +54,7 @@ BaseContainerControl::~BaseContainerControl()
// XInterface
-Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -79,7 +79,7 @@ Any SAL_CALL BaseContainerControl::queryInterface( const Type& rType ) throw( Ru
// XTypeProvider
-Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -111,7 +111,7 @@ Sequence< Type > SAL_CALL BaseContainerControl::getTypes() throw( RuntimeExcepti
// XAggregation
-Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -139,7 +139,7 @@ Any SAL_CALL BaseContainerControl::queryAggregation( const Type& aType ) throw(
void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >& xToolkit ,
- const Reference< XWindowPeer >& xParent ) throw( RuntimeException )
+ const Reference< XWindowPeer >& xParent ) throw( RuntimeException, std::exception )
{
if ( !getPeer().is() )
{
@@ -165,7 +165,7 @@ void SAL_CALL BaseContainerControl::createPeer( const Reference< XToolkit >&
// XControl
-sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel >& ) throw( RuntimeException )
+sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel >& ) throw( RuntimeException, std::exception )
{
// This object has NO model.
return sal_False ;
@@ -175,7 +175,7 @@ sal_Bool SAL_CALL BaseContainerControl::setModel( const Reference< XControlModel
// XControl
-Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( RuntimeException )
+Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( RuntimeException, std::exception )
{
// This object has NO model.
// return (XControlModel*)this ;
@@ -186,7 +186,7 @@ Reference< XControlModel > SAL_CALL BaseContainerControl::getModel() throw( Runt
// XComponent
-void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException )
+void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException, std::exception )
{
// Tell everything that this container is now gone.
// It's faster if you listen to both the control and the container.
@@ -227,7 +227,7 @@ void SAL_CALL BaseContainerControl::dispose() throw( RuntimeException )
// XEventListener
-void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw( RuntimeException )
+void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw( RuntimeException, std::exception )
{
Reference< XControl > xControl( rEvent.Source, UNO_QUERY );
@@ -239,7 +239,7 @@ void SAL_CALL BaseContainerControl::disposing( const EventObject& rEvent ) throw
// XControlContainer
-void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( RuntimeException )
+void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Reference< XControl > & rControl ) throw( RuntimeException, std::exception )
{
if ( !rControl.is () )
return;
@@ -310,7 +310,7 @@ void SAL_CALL BaseContainerControl::addContainerListener ( const Reference< XCon
// XControlContainer
-void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > & rControl ) throw( RuntimeException )
+void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl > & rControl ) throw( RuntimeException, std::exception )
{
if ( rControl.is() )
{
@@ -375,7 +375,7 @@ void SAL_CALL BaseContainerControl::removeContainerListener ( const Reference< X
// XControlContainer
-void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText ) throw( RuntimeException )
+void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText ) throw( RuntimeException, std::exception )
{
// go down to each parent
Reference< XControlContainer > xContainer ( getContext(), UNO_QUERY ) ;
@@ -390,7 +390,7 @@ void SAL_CALL BaseContainerControl::setStatusText ( const OUString& rStatusText
// XControlContainer
-Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString& rName ) throw( RuntimeException )
+Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString& rName ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( Mutex::getGlobalMutex() ) ;
@@ -418,7 +418,7 @@ Reference< XControl > SAL_CALL BaseContainerControl::getControl ( const OUString
// XControlContainer
-Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls () throw( RuntimeException )
+Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls () throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( Mutex::getGlobalMutex() ) ;
@@ -513,7 +513,7 @@ Sequence<Reference< XTabController > > SAL_CALL BaseContainerControl::getTabCont
// XWindow
-void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( RuntimeException )
+void SAL_CALL BaseContainerControl::setVisible ( sal_Bool bVisible ) throw( RuntimeException, std::exception )
{
// override baseclass definition
BaseControl::setVisible ( bVisible ) ;
diff --git a/UnoControls/source/base/basecontrol.cxx b/UnoControls/source/base/basecontrol.cxx
index b355344467b3..064785105504 100644
--- a/UnoControls/source/base/basecontrol.cxx
+++ b/UnoControls/source/base/basecontrol.cxx
@@ -78,7 +78,7 @@ BaseControl::~BaseControl()
// XInterface
-Any SAL_CALL BaseControl::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL BaseControl::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
Any aReturn ;
if ( m_xDelegator.is() )
@@ -126,7 +126,7 @@ void SAL_CALL BaseControl::release() throw()
// XTypeProvider
-Sequence< Type > SAL_CALL BaseControl::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL BaseControl::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -163,7 +163,7 @@ Sequence< Type > SAL_CALL BaseControl::getTypes() throw( RuntimeException )
// XTypeProvider
-Sequence< sal_Int8 > SAL_CALL BaseControl::getImplementationId() throw( RuntimeException )
+Sequence< sal_Int8 > SAL_CALL BaseControl::getImplementationId() throw( RuntimeException, std::exception )
{
// Create one Id for all instances of this class.
// Use ethernet address to do this! (sal_True)
@@ -195,7 +195,7 @@ Sequence< sal_Int8 > SAL_CALL BaseControl::getImplementationId() throw( RuntimeE
// XAggregation
-void SAL_CALL BaseControl::setDelegator( const Reference< XInterface >& xDel ) throw( RuntimeException )
+void SAL_CALL BaseControl::setDelegator( const Reference< XInterface >& xDel ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -206,7 +206,7 @@ void SAL_CALL BaseControl::setDelegator( const Reference< XInterface >& xDel ) t
// XAggregation
-Any SAL_CALL BaseControl::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL BaseControl::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -237,7 +237,7 @@ Any SAL_CALL BaseControl::queryAggregation( const Type& aType ) throw( RuntimeEx
// XServiceInfo
-OUString SAL_CALL BaseControl::getImplementationName() throw( RuntimeException )
+OUString SAL_CALL BaseControl::getImplementationName() throw( RuntimeException, std::exception )
{
return impl_getStaticImplementationName();
}
@@ -246,7 +246,7 @@ OUString SAL_CALL BaseControl::getImplementationName() throw( RuntimeException )
// XServiceInfo
-sal_Bool SAL_CALL BaseControl::supportsService( const OUString& sServiceName ) throw( RuntimeException )
+sal_Bool SAL_CALL BaseControl::supportsService( const OUString& sServiceName ) throw( RuntimeException, std::exception )
{
return cppu::supportsService(this, sServiceName);
}
@@ -255,7 +255,7 @@ sal_Bool SAL_CALL BaseControl::supportsService( const OUString& sServiceName ) t
// XServiceInfo
-Sequence< OUString > SAL_CALL BaseControl::getSupportedServiceNames() throw( RuntimeException )
+Sequence< OUString > SAL_CALL BaseControl::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
return impl_getStaticSupportedServiceNames();
}
@@ -264,7 +264,7 @@ Sequence< OUString > SAL_CALL BaseControl::getSupportedServiceNames() throw( Run
// XComponent
-void SAL_CALL BaseControl::dispose() throw( RuntimeException )
+void SAL_CALL BaseControl::dispose() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -293,7 +293,7 @@ void SAL_CALL BaseControl::dispose() throw( RuntimeException )
// XComponent
-void SAL_CALL BaseControl::addEventListener( const Reference< XEventListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addEventListener( const Reference< XEventListener >& xListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -304,7 +304,7 @@ void SAL_CALL BaseControl::addEventListener( const Reference< XEventListener >&
// XComponent
-void SAL_CALL BaseControl::removeEventListener( const Reference< XEventListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeEventListener( const Reference< XEventListener >& xListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -316,7 +316,7 @@ void SAL_CALL BaseControl::removeEventListener( const Reference< XEventListener
void SAL_CALL BaseControl::createPeer( const Reference< XToolkit >& xToolkit ,
- const Reference< XWindowPeer >& xParentPeer ) throw( RuntimeException )
+ const Reference< XWindowPeer >& xParentPeer ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -378,7 +378,7 @@ void SAL_CALL BaseControl::createPeer( const Reference< XToolkit >& xToo
// XControl
-void SAL_CALL BaseControl::setContext( const Reference< XInterface >& xContext ) throw( RuntimeException )
+void SAL_CALL BaseControl::setContext( const Reference< XInterface >& xContext ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -389,7 +389,7 @@ void SAL_CALL BaseControl::setContext( const Reference< XInterface >& xContext )
// XControl
-void SAL_CALL BaseControl::setDesignMode( sal_Bool bOn ) throw( RuntimeException )
+void SAL_CALL BaseControl::setDesignMode( sal_Bool bOn ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -400,7 +400,7 @@ void SAL_CALL BaseControl::setDesignMode( sal_Bool bOn ) throw( RuntimeException
// XControl
-Reference< XInterface > SAL_CALL BaseControl::getContext() throw( RuntimeException )
+Reference< XInterface > SAL_CALL BaseControl::getContext() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -411,7 +411,7 @@ Reference< XInterface > SAL_CALL BaseControl::getContext() throw( RuntimeExcepti
// XControl
-Reference< XWindowPeer > SAL_CALL BaseControl::getPeer() throw( RuntimeException )
+Reference< XWindowPeer > SAL_CALL BaseControl::getPeer() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -422,7 +422,7 @@ Reference< XWindowPeer > SAL_CALL BaseControl::getPeer() throw( RuntimeException
// XControl
-Reference< XView > SAL_CALL BaseControl::getView() throw( RuntimeException )
+Reference< XView > SAL_CALL BaseControl::getView() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -433,7 +433,7 @@ Reference< XView > SAL_CALL BaseControl::getView() throw( RuntimeException )
// XControl
-sal_Bool SAL_CALL BaseControl::isDesignMode() throw( RuntimeException )
+sal_Bool SAL_CALL BaseControl::isDesignMode() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -444,7 +444,7 @@ sal_Bool SAL_CALL BaseControl::isDesignMode() throw( RuntimeException )
// XControl
-sal_Bool SAL_CALL BaseControl::isTransparent() throw( RuntimeException )
+sal_Bool SAL_CALL BaseControl::isTransparent() throw( RuntimeException, std::exception )
{
return sal_False ;
}
@@ -457,7 +457,7 @@ void SAL_CALL BaseControl::setPosSize( sal_Int32 nX ,
sal_Int32 nY ,
sal_Int32 nWidth ,
sal_Int32 nHeight ,
- sal_Int16 nFlags ) throw( RuntimeException )
+ sal_Int16 nFlags ) throw( RuntimeException, std::exception )
{
// - change size and position of window and save the values
@@ -496,7 +496,7 @@ void SAL_CALL BaseControl::setPosSize( sal_Int32 nX ,
// XWindow
-void SAL_CALL BaseControl::setVisible( sal_Bool bVisible ) throw( RuntimeException )
+void SAL_CALL BaseControl::setVisible( sal_Bool bVisible ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -515,7 +515,7 @@ void SAL_CALL BaseControl::setVisible( sal_Bool bVisible ) throw( RuntimeExcepti
// XWindow
-void SAL_CALL BaseControl::setEnable( sal_Bool bEnable ) throw( RuntimeException )
+void SAL_CALL BaseControl::setEnable( sal_Bool bEnable ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -534,7 +534,7 @@ void SAL_CALL BaseControl::setEnable( sal_Bool bEnable ) throw( RuntimeException
// XWindow
-void SAL_CALL BaseControl::setFocus() throw( RuntimeException )
+void SAL_CALL BaseControl::setFocus() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -549,7 +549,7 @@ void SAL_CALL BaseControl::setFocus() throw( RuntimeException )
// XWindow
-Rectangle SAL_CALL BaseControl::getPosSize() throw( RuntimeException )
+Rectangle SAL_CALL BaseControl::getPosSize() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -560,7 +560,7 @@ Rectangle SAL_CALL BaseControl::getPosSize() throw( RuntimeException )
// XWindow
-void SAL_CALL BaseControl::addWindowListener( const Reference< XWindowListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addWindowListener( const Reference< XWindowListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XWindowListener >*)0), xListener );
}
@@ -569,7 +569,7 @@ void SAL_CALL BaseControl::addWindowListener( const Reference< XWindowListener >
// XWindow
-void SAL_CALL BaseControl::addFocusListener( const Reference< XFocusListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addFocusListener( const Reference< XFocusListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XFocusListener >*)0), xListener );
}
@@ -578,7 +578,7 @@ void SAL_CALL BaseControl::addFocusListener( const Reference< XFocusListener >&
// XWindow
-void SAL_CALL BaseControl::addKeyListener( const Reference< XKeyListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addKeyListener( const Reference< XKeyListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XKeyListener >*)0), xListener );
}
@@ -587,7 +587,7 @@ void SAL_CALL BaseControl::addKeyListener( const Reference< XKeyListener >& xLis
// XWindow
-void SAL_CALL BaseControl::addMouseListener( const Reference< XMouseListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addMouseListener( const Reference< XMouseListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XMouseListener >*)0), xListener );
}
@@ -596,7 +596,7 @@ void SAL_CALL BaseControl::addMouseListener( const Reference< XMouseListener >&
// XWindow
-void SAL_CALL BaseControl::addMouseMotionListener( const Reference< XMouseMotionListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addMouseMotionListener( const Reference< XMouseMotionListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XMouseMotionListener >*)0), xListener );
}
@@ -605,7 +605,7 @@ void SAL_CALL BaseControl::addMouseMotionListener( const Reference< XMouseMotion
// XWindow
-void SAL_CALL BaseControl::addPaintListener( const Reference< XPaintListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::addPaintListener( const Reference< XPaintListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->advise( ::getCppuType(( const Reference< XPaintListener >*)0), xListener );
}
@@ -614,7 +614,7 @@ void SAL_CALL BaseControl::addPaintListener( const Reference< XPaintListener >&
// XWindow
-void SAL_CALL BaseControl::removeWindowListener( const Reference< XWindowListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeWindowListener( const Reference< XWindowListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XWindowListener >*)0), xListener );
}
@@ -623,7 +623,7 @@ void SAL_CALL BaseControl::removeWindowListener( const Reference< XWindowListene
// XWindow
-void SAL_CALL BaseControl::removeFocusListener( const Reference< XFocusListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeFocusListener( const Reference< XFocusListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XFocusListener >*)0), xListener );
}
@@ -632,7 +632,7 @@ void SAL_CALL BaseControl::removeFocusListener( const Reference< XFocusListener
// XWindow
-void SAL_CALL BaseControl::removeKeyListener( const Reference< XKeyListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeKeyListener( const Reference< XKeyListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XKeyListener >*)0), xListener );
}
@@ -641,7 +641,7 @@ void SAL_CALL BaseControl::removeKeyListener( const Reference< XKeyListener >& x
// XWindow
-void SAL_CALL BaseControl::removeMouseListener( const Reference< XMouseListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeMouseListener( const Reference< XMouseListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XMouseListener >*)0), xListener );
}
@@ -650,7 +650,7 @@ void SAL_CALL BaseControl::removeMouseListener( const Reference< XMouseListener
// XWindow
-void SAL_CALL BaseControl::removeMouseMotionListener( const Reference< XMouseMotionListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removeMouseMotionListener( const Reference< XMouseMotionListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XMouseMotionListener >*)0), xListener );
}
@@ -659,7 +659,7 @@ void SAL_CALL BaseControl::removeMouseMotionListener( const Reference< XMouseMo
// XWindow
-void SAL_CALL BaseControl::removePaintListener( const Reference< XPaintListener >& xListener ) throw( RuntimeException )
+void SAL_CALL BaseControl::removePaintListener( const Reference< XPaintListener >& xListener ) throw( RuntimeException, std::exception )
{
impl_getMultiplexer()->unadvise( ::getCppuType(( const Reference< XPaintListener >*)0), xListener );
}
@@ -669,7 +669,7 @@ void SAL_CALL BaseControl::removePaintListener( const Reference< XPaintListener
void SAL_CALL BaseControl::draw( sal_Int32 nX ,
- sal_Int32 nY ) throw( RuntimeException )
+ sal_Int32 nY ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -684,7 +684,7 @@ void SAL_CALL BaseControl::draw( sal_Int32 nX ,
// XView
-sal_Bool SAL_CALL BaseControl::setGraphics( const Reference< XGraphics >& xDevice ) throw( RuntimeException )
+sal_Bool SAL_CALL BaseControl::setGraphics( const Reference< XGraphics >& xDevice ) throw( RuntimeException, std::exception )
{
// - set the graphics for an view
// - in this class exist 2 graphics-member ... one for peer[_xGraphicsPeer] and one for view[_xGraphicsView]
@@ -707,7 +707,7 @@ sal_Bool SAL_CALL BaseControl::setGraphics( const Reference< XGraphics >& xDevic
void SAL_CALL BaseControl::setZoom( float /*fZoomX*/ ,
- float /*fZoomY*/ ) throw( RuntimeException )
+ float /*fZoomY*/ ) throw( RuntimeException, std::exception )
{
// Not implemented yet
}
@@ -716,7 +716,7 @@ void SAL_CALL BaseControl::setZoom( float /*fZoomX*/ ,
// XView
-Reference< XGraphics > SAL_CALL BaseControl::getGraphics() throw( RuntimeException )
+Reference< XGraphics > SAL_CALL BaseControl::getGraphics() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -727,7 +727,7 @@ Reference< XGraphics > SAL_CALL BaseControl::getGraphics() throw( RuntimeExcepti
// XView
-Size SAL_CALL BaseControl::getSize() throw( RuntimeException )
+Size SAL_CALL BaseControl::getSize() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -738,7 +738,7 @@ Size SAL_CALL BaseControl::getSize() throw( RuntimeException )
// XEventListener
-void SAL_CALL BaseControl::disposing( const EventObject& /*aSource*/ ) throw( RuntimeException )
+void SAL_CALL BaseControl::disposing( const EventObject& /*aSource*/ ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -762,7 +762,7 @@ void SAL_CALL BaseControl::disposing( const EventObject& /*aSource*/ ) throw( Ru
// XPaintListener
-void SAL_CALL BaseControl::windowPaint( const PaintEvent& /*aEvent*/ ) throw( RuntimeException )
+void SAL_CALL BaseControl::windowPaint( const PaintEvent& /*aEvent*/ ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -777,7 +777,7 @@ void SAL_CALL BaseControl::windowPaint( const PaintEvent& /*aEvent*/ ) throw( Ru
// XWindowListener
-void SAL_CALL BaseControl::windowResized( const WindowEvent& aEvent ) throw( RuntimeException )
+void SAL_CALL BaseControl::windowResized( const WindowEvent& aEvent ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -794,7 +794,7 @@ void SAL_CALL BaseControl::windowResized( const WindowEvent& aEvent ) throw( Run
// XWindowListener
-void SAL_CALL BaseControl::windowMoved( const WindowEvent& aEvent ) throw( RuntimeException )
+void SAL_CALL BaseControl::windowMoved( const WindowEvent& aEvent ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -811,7 +811,7 @@ void SAL_CALL BaseControl::windowMoved( const WindowEvent& aEvent ) throw( Runti
// XWindowListener
-void SAL_CALL BaseControl::windowShown( const EventObject& /*aEvent*/ ) throw( RuntimeException )
+void SAL_CALL BaseControl::windowShown( const EventObject& /*aEvent*/ ) throw( RuntimeException, std::exception )
{
}
@@ -819,7 +819,7 @@ void SAL_CALL BaseControl::windowShown( const EventObject& /*aEvent*/ ) throw( R
// XWindowListener
-void SAL_CALL BaseControl::windowHidden( const EventObject& /*aEvent*/ ) throw( RuntimeException )
+void SAL_CALL BaseControl::windowHidden( const EventObject& /*aEvent*/ ) throw( RuntimeException, std::exception )
{
}
diff --git a/UnoControls/source/base/multiplexer.cxx b/UnoControls/source/base/multiplexer.cxx
index 0dd2bc41cfe5..ccee9bea5a13 100644
--- a/UnoControls/source/base/multiplexer.cxx
+++ b/UnoControls/source/base/multiplexer.cxx
@@ -96,7 +96,7 @@ OMRCListenerMultiplexerHelper::~OMRCListenerMultiplexerHelper()
// XInterface
-Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL OMRCListenerMultiplexerHelper::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -247,7 +247,7 @@ void OMRCListenerMultiplexerHelper::unadvise( const Type&
// XEventListener
-void SAL_CALL OMRCListenerMultiplexerHelper::disposing( const EventObject& /*aSource*/ ) throw( RuntimeException )
+void SAL_CALL OMRCListenerMultiplexerHelper::disposing( const EventObject& /*aSource*/ ) throw( RuntimeException, std::exception )
{
MutexGuard aGuard( m_aMutex );
// peer is disposed, clear the reference
@@ -258,7 +258,7 @@ void SAL_CALL OMRCListenerMultiplexerHelper::disposing( const EventObject& /*aSo
// XFcousListener
-void OMRCListenerMultiplexerHelper::focusGained(const FocusEvent& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::focusGained(const FocusEvent& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XFocusListener, focusGained, FocusEvent, aEvent )
}
@@ -267,7 +267,7 @@ void OMRCListenerMultiplexerHelper::focusGained(const FocusEvent& aEvent ) throw
// XFcousListener
-void OMRCListenerMultiplexerHelper::focusLost(const FocusEvent& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::focusLost(const FocusEvent& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XFocusListener, focusLost, FocusEvent, aEvent )
}
@@ -276,7 +276,7 @@ void OMRCListenerMultiplexerHelper::focusLost(const FocusEvent& aEvent ) throw(
// XWindowListener
-void OMRCListenerMultiplexerHelper::windowResized(const WindowEvent& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowResized(const WindowEvent& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XWindowListener, windowResized, WindowEvent, aEvent )
}
@@ -285,7 +285,7 @@ void OMRCListenerMultiplexerHelper::windowResized(const WindowEvent& aEvent ) th
// XWindowListener
-void OMRCListenerMultiplexerHelper::windowMoved(const WindowEvent& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowMoved(const WindowEvent& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XWindowListener, windowMoved, WindowEvent, aEvent )
}
@@ -294,7 +294,7 @@ void OMRCListenerMultiplexerHelper::windowMoved(const WindowEvent& aEvent ) thro
// XWindowListener
-void OMRCListenerMultiplexerHelper::windowShown(const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowShown(const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XWindowListener, windowShown, EventObject, aEvent )
}
@@ -303,7 +303,7 @@ void OMRCListenerMultiplexerHelper::windowShown(const EventObject& aEvent ) thro
// XWindowListener
-void OMRCListenerMultiplexerHelper::windowHidden(const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowHidden(const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XWindowListener, windowHidden, EventObject, aEvent )
}
@@ -312,7 +312,7 @@ void OMRCListenerMultiplexerHelper::windowHidden(const EventObject& aEvent ) thr
// XKeyListener
-void OMRCListenerMultiplexerHelper::keyPressed(const KeyEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::keyPressed(const KeyEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XKeyListener, keyPressed, KeyEvent, aEvent )
}
@@ -321,7 +321,7 @@ void OMRCListenerMultiplexerHelper::keyPressed(const KeyEvent& aEvent) throw( Ru
// XKeyListener
-void OMRCListenerMultiplexerHelper::keyReleased(const KeyEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::keyReleased(const KeyEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XKeyListener, keyReleased, KeyEvent, aEvent )
}
@@ -330,7 +330,7 @@ void OMRCListenerMultiplexerHelper::keyReleased(const KeyEvent& aEvent) throw( R
// XMouseListener
-void OMRCListenerMultiplexerHelper::mousePressed(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mousePressed(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseListener, mousePressed, MouseEvent, aEvent )
}
@@ -339,7 +339,7 @@ void OMRCListenerMultiplexerHelper::mousePressed(const MouseEvent& aEvent) throw
// XMouseListener
-void OMRCListenerMultiplexerHelper::mouseReleased(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mouseReleased(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseListener, mouseReleased, MouseEvent, aEvent )
}
@@ -348,7 +348,7 @@ void OMRCListenerMultiplexerHelper::mouseReleased(const MouseEvent& aEvent) thro
// XMouseListener
-void OMRCListenerMultiplexerHelper::mouseEntered(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mouseEntered(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseListener, mouseEntered, MouseEvent, aEvent )
}
@@ -357,7 +357,7 @@ void OMRCListenerMultiplexerHelper::mouseEntered(const MouseEvent& aEvent) throw
// XMouseListener
-void OMRCListenerMultiplexerHelper::mouseExited(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mouseExited(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseListener, mouseExited, MouseEvent, aEvent )
}
@@ -366,7 +366,7 @@ void OMRCListenerMultiplexerHelper::mouseExited(const MouseEvent& aEvent) throw(
// XMouseMotionListener
-void OMRCListenerMultiplexerHelper::mouseDragged(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mouseDragged(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseMotionListener, mouseDragged, MouseEvent, aEvent )
}
@@ -375,7 +375,7 @@ void OMRCListenerMultiplexerHelper::mouseDragged(const MouseEvent& aEvent) throw
// XMouseMotionListener
-void OMRCListenerMultiplexerHelper::mouseMoved(const MouseEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::mouseMoved(const MouseEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XMouseMotionListener, mouseMoved, MouseEvent, aEvent )
}
@@ -384,7 +384,7 @@ void OMRCListenerMultiplexerHelper::mouseMoved(const MouseEvent& aEvent) throw(
// XPaintListener
-void OMRCListenerMultiplexerHelper::windowPaint(const PaintEvent& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowPaint(const PaintEvent& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XPaintListener, windowPaint, PaintEvent, aEvent )
}
@@ -393,7 +393,7 @@ void OMRCListenerMultiplexerHelper::windowPaint(const PaintEvent& aEvent) throw(
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowOpened(const EventObject& aEvent) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowOpened(const EventObject& aEvent) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowOpened, EventObject, aEvent )
}
@@ -402,7 +402,7 @@ void OMRCListenerMultiplexerHelper::windowOpened(const EventObject& aEvent) thro
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowClosing( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowClosing( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowClosing, EventObject, aEvent )
}
@@ -411,7 +411,7 @@ void OMRCListenerMultiplexerHelper::windowClosing( const EventObject& aEvent ) t
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowClosed( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowClosed( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowClosed, EventObject, aEvent )
}
@@ -420,7 +420,7 @@ void OMRCListenerMultiplexerHelper::windowClosed( const EventObject& aEvent ) th
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowMinimized( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowMinimized( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowMinimized, EventObject, aEvent )
}
@@ -429,7 +429,7 @@ void OMRCListenerMultiplexerHelper::windowMinimized( const EventObject& aEvent )
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowNormalized( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowNormalized( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowNormalized, EventObject, aEvent )
}
@@ -438,7 +438,7 @@ void OMRCListenerMultiplexerHelper::windowNormalized( const EventObject& aEvent
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowActivated( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowActivated( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowActivated, EventObject, aEvent )
}
@@ -447,7 +447,7 @@ void OMRCListenerMultiplexerHelper::windowActivated( const EventObject& aEvent )
// XTopWindowListener
-void OMRCListenerMultiplexerHelper::windowDeactivated( const EventObject& aEvent ) throw( RuntimeException )
+void OMRCListenerMultiplexerHelper::windowDeactivated( const EventObject& aEvent ) throw( RuntimeException, std::exception )
{
MULTIPLEX( XTopWindowListener, windowDeactivated, EventObject, aEvent )
}
diff --git a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
index 48b69a5bf824..1266b4028f15 100644
--- a/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointContainerHelper.cxx
@@ -51,7 +51,7 @@ OConnectionPointContainerHelper::~OConnectionPointContainerHelper()
// XInterface
-Any SAL_CALL OConnectionPointContainerHelper::queryInterface( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL OConnectionPointContainerHelper::queryInterface( const Type& aType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -102,7 +102,7 @@ void SAL_CALL OConnectionPointContainerHelper::release() throw()
// XConnectionPointContainer
-Sequence< Type > SAL_CALL OConnectionPointContainerHelper::getConnectionPointTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL OConnectionPointContainerHelper::getConnectionPointTypes() throw( RuntimeException, std::exception )
{
// Container is threadsafe himself !
return m_aMultiTypeContainer.getContainedTypes();
@@ -112,7 +112,7 @@ Sequence< Type > SAL_CALL OConnectionPointContainerHelper::getConnectionPointTyp
// XConnectionPointContainer
-Reference< XConnectionPoint > SAL_CALL OConnectionPointContainerHelper::queryConnectionPoint( const Type& aType ) throw( RuntimeException )
+Reference< XConnectionPoint > SAL_CALL OConnectionPointContainerHelper::queryConnectionPoint( const Type& aType ) throw( RuntimeException, std::exception )
{
// Set default return value, if method failed.
Reference< XConnectionPoint > xConnectionPoint;
@@ -136,7 +136,7 @@ Reference< XConnectionPoint > SAL_CALL OConnectionPointContainerHelper::queryCon
void SAL_CALL OConnectionPointContainerHelper::advise( const Type& aType ,
- const Reference< XInterface >& xListener ) throw( RuntimeException )
+ const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Container is threadsafe himself !
m_aMultiTypeContainer.addInterface( aType, xListener );
@@ -147,7 +147,7 @@ void SAL_CALL OConnectionPointContainerHelper::advise( const Type&
void SAL_CALL OConnectionPointContainerHelper::unadvise( const Type& aType ,
- const Reference< XInterface >& xListener ) throw( RuntimeException )
+ const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Container is threadsafe himself !
m_aMultiTypeContainer.removeInterface( aType, xListener );
diff --git a/UnoControls/source/controls/OConnectionPointHelper.cxx b/UnoControls/source/controls/OConnectionPointHelper.cxx
index c0d82b585b57..25036efd3c36 100644
--- a/UnoControls/source/controls/OConnectionPointHelper.cxx
+++ b/UnoControls/source/controls/OConnectionPointHelper.cxx
@@ -56,7 +56,7 @@ OConnectionPointHelper::~OConnectionPointHelper()
// XInterface
-Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL OConnectionPointHelper::queryInterface( const Type& aType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -107,7 +107,7 @@ void SAL_CALL OConnectionPointHelper::release() throw()
// XConnectionPoint
-Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeException )
+Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aSharedMutex );
@@ -131,7 +131,7 @@ Type SAL_CALL OConnectionPointHelper::getConnectionType() throw( RuntimeExceptio
// XConnectionPoint
-Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConnectionPointContainer() throw( RuntimeException )
+Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConnectionPointContainer() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aSharedMutex );
@@ -145,7 +145,7 @@ Reference< XConnectionPointContainer > SAL_CALL OConnectionPointHelper::getConne
void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xListener ) throw( ListenerExistException ,
InvalidListenerException ,
- RuntimeException )
+ RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aSharedMutex );
@@ -178,7 +178,7 @@ void SAL_CALL OConnectionPointHelper::advise( const Reference< XInterface >& xLi
// XConnectionPoint
-void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& xListener ) throw( RuntimeException )
+void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aSharedMutex );
@@ -199,7 +199,7 @@ void SAL_CALL OConnectionPointHelper::unadvise( const Reference< XInterface >& x
// XConnectionPoint
-Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnections() throw( RuntimeException )
+Sequence< Reference< XInterface > > SAL_CALL OConnectionPointHelper::getConnections() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aSharedMutex );
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index b209983329aa..553571c17a6b 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -67,7 +67,7 @@ FrameControl::~FrameControl()
// XInterface
-Any SAL_CALL FrameControl::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL FrameControl::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -118,7 +118,7 @@ void SAL_CALL FrameControl::release() throw()
// XTypeProvider
-Sequence< Type > SAL_CALL FrameControl::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL FrameControl::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -151,7 +151,7 @@ Sequence< Type > SAL_CALL FrameControl::getTypes() throw( RuntimeException )
// XAggregation
-Any SAL_CALL FrameControl::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL FrameControl::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -180,7 +180,7 @@ Any SAL_CALL FrameControl::queryAggregation( const Type& aType ) throw( RuntimeE
void SAL_CALL FrameControl::createPeer( const Reference< XToolkit >& xToolkit ,
- const Reference< XWindowPeer >& xParentPeer ) throw( RuntimeException )
+ const Reference< XWindowPeer >& xParentPeer ) throw( RuntimeException, std::exception )
{
BaseControl::createPeer( xToolkit, xParentPeer );
if ( impl_getPeerWindow().is() )
@@ -196,7 +196,7 @@ void SAL_CALL FrameControl::createPeer( const Reference< XToolkit >& xToo
// XControl
-sal_Bool SAL_CALL FrameControl::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException )
+sal_Bool SAL_CALL FrameControl::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException, std::exception )
{
// We have no model.
return sal_False ;
@@ -206,7 +206,7 @@ sal_Bool SAL_CALL FrameControl::setModel( const Reference< XControlModel >& /*xM
// XControl
-Reference< XControlModel > SAL_CALL FrameControl::getModel() throw( RuntimeException )
+Reference< XControlModel > SAL_CALL FrameControl::getModel() throw( RuntimeException, std::exception )
{
// We have no model.
return Reference< XControlModel >();
@@ -216,7 +216,7 @@ Reference< XControlModel > SAL_CALL FrameControl::getModel() throw( RuntimeExcep
// XControl
-void SAL_CALL FrameControl::dispose() throw( RuntimeException )
+void SAL_CALL FrameControl::dispose() throw( RuntimeException, std::exception )
{
impl_deleteFrame();
BaseControl::dispose();
@@ -226,7 +226,7 @@ void SAL_CALL FrameControl::dispose() throw( RuntimeException )
// XView
-sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDevice*/ ) throw( RuntimeException )
+sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDevice*/ ) throw( RuntimeException, std::exception )
{
// it is not possible to print this control
return sal_False ;
@@ -236,7 +236,7 @@ sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDe
// XView
-Reference< XGraphics > SAL_CALL FrameControl::getGraphics() throw( RuntimeException )
+Reference< XGraphics > SAL_CALL FrameControl::getGraphics() throw( RuntimeException, std::exception )
{
// when its not posible to set graphics ! then its possible to return null
return Reference< XGraphics >();
@@ -246,7 +246,7 @@ Reference< XGraphics > SAL_CALL FrameControl::getGraphics() throw( RuntimeExcept
// XConnectionPointContainer
-Sequence< Type > SAL_CALL FrameControl::getConnectionPointTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL FrameControl::getConnectionPointTypes() throw( RuntimeException, std::exception )
{
// Forwarded to helper class
return m_aConnectionPointContainer.getConnectionPointTypes();
@@ -256,7 +256,7 @@ Sequence< Type > SAL_CALL FrameControl::getConnectionPointTypes() throw( Runtime
// XConnectionPointContainer
-Reference< XConnectionPoint > SAL_CALL FrameControl::queryConnectionPoint( const Type& aType ) throw( RuntimeException )
+Reference< XConnectionPoint > SAL_CALL FrameControl::queryConnectionPoint( const Type& aType ) throw( RuntimeException, std::exception )
{
// Forwarded to helper class
return m_aConnectionPointContainer.queryConnectionPoint( aType );
@@ -267,7 +267,7 @@ Reference< XConnectionPoint > SAL_CALL FrameControl::queryConnectionPoint( const
void SAL_CALL FrameControl::advise( const Type& aType ,
- const Reference< XInterface >& xListener ) throw( RuntimeException )
+ const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Forwarded to helper class
m_aConnectionPointContainer.advise( aType, xListener );
@@ -278,7 +278,7 @@ void SAL_CALL FrameControl::advise( const Type& aType
void SAL_CALL FrameControl::unadvise( const Type& aType ,
- const Reference< XInterface >& xListener ) throw( RuntimeException )
+ const Reference< XInterface >& xListener ) throw( RuntimeException, std::exception )
{
// Forwarded to helper class
m_aConnectionPointContainer.unadvise( aType, xListener );
@@ -342,7 +342,7 @@ sal_Bool FrameControl::convertFastPropertyValue( Any& rConvertedVa
void FrameControl::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle ,
const Any& rValue )
- throw ( ::com::sun::star::uno::Exception )
+ throw ( ::com::sun::star::uno::Exception, std::exception )
{
// this method only set the value
MutexGuard aGuard (m_aMutex) ;
@@ -413,7 +413,7 @@ IPropertyArrayHelper& FrameControl::getInfoHelper()
// OPropertySetHelper
-Reference< XPropertySetInfo > SAL_CALL FrameControl::getPropertySetInfo() throw( RuntimeException )
+Reference< XPropertySetInfo > SAL_CALL FrameControl::getPropertySetInfo() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
diff --git a/UnoControls/source/controls/progressbar.cxx b/UnoControls/source/controls/progressbar.cxx
index 5f7d4233187e..654609156e66 100644
--- a/UnoControls/source/controls/progressbar.cxx
+++ b/UnoControls/source/controls/progressbar.cxx
@@ -63,7 +63,7 @@ ProgressBar::~ProgressBar()
// XInterface
-Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL ProgressBar::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -114,7 +114,7 @@ void SAL_CALL ProgressBar::release() throw()
// XTypeProvider
-Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -146,7 +146,7 @@ Sequence< Type > SAL_CALL ProgressBar::getTypes() throw( RuntimeException )
// XAggregation
-Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -170,7 +170,7 @@ Any SAL_CALL ProgressBar::queryAggregation( const Type& aType ) throw( RuntimeEx
// XProgressBar
-void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( RuntimeException )
+void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard (m_aMutex) ;
@@ -186,7 +186,7 @@ void SAL_CALL ProgressBar::setForegroundColor( sal_Int32 nColor ) throw( Runtime
// XProgressBar
-void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException )
+void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard (m_aMutex) ;
@@ -202,7 +202,7 @@ void SAL_CALL ProgressBar::setBackgroundColor ( sal_Int32 nColor ) throw( Runtim
// XProgressBar
-void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException )
+void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException, std::exception )
{
// This method is defined for follow things:
// 1) Values >= _nMinRange
@@ -233,7 +233,7 @@ void SAL_CALL ProgressBar::setValue ( sal_Int32 nValue ) throw( RuntimeException
// XProgressBar
-void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException )
+void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException, std::exception )
{
// This method is defined for follow things:
// 1) All values of sal_Int32
@@ -277,7 +277,7 @@ void SAL_CALL ProgressBar::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( Ru
// XProgressBar
-sal_Int32 SAL_CALL ProgressBar::getValue () throw( RuntimeException )
+sal_Int32 SAL_CALL ProgressBar::getValue () throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard (m_aMutex) ;
@@ -295,7 +295,7 @@ void SAL_CALL ProgressBar::setPosSize (
sal_Int32 nWidth,
sal_Int32 nHeight,
sal_Int16 nFlags
-) throw( RuntimeException )
+) throw( RuntimeException, std::exception )
{
// Take old size BEFORE you set the new values at baseclass!
// You will control changes. At the other way, the values are the same!
@@ -317,7 +317,7 @@ void SAL_CALL ProgressBar::setPosSize (
// XControl
-sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException )
+sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException, std::exception )
{
// A model is not possible for this control.
return sal_False ;
@@ -327,7 +327,7 @@ sal_Bool SAL_CALL ProgressBar::setModel( const Reference< XControlModel >& /*xMo
// XControl
-Reference< XControlModel > SAL_CALL ProgressBar::getModel() throw( RuntimeException )
+Reference< XControlModel > SAL_CALL ProgressBar::getModel() throw( RuntimeException, std::exception )
{
// A model is not possible for this control.
return Reference< XControlModel >();
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 68738ac98cad..3a19291abdc3 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -103,7 +103,7 @@ ProgressMonitor::~ProgressMonitor()
}
// XInterface
-Any SAL_CALL ProgressMonitor::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL ProgressMonitor::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -145,7 +145,7 @@ void SAL_CALL ProgressMonitor::release() throw()
}
// XTypeProvider
-Sequence< Type > SAL_CALL ProgressMonitor::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL ProgressMonitor::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -175,7 +175,7 @@ Sequence< Type > SAL_CALL ProgressMonitor::getTypes() throw( RuntimeException )
}
// XAggregation
-Any SAL_CALL ProgressMonitor::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL ProgressMonitor::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -201,7 +201,7 @@ void SAL_CALL ProgressMonitor::addText(
const OUString& rTopic,
const OUString& rText,
sal_Bool bbeforeProgress
-) throw( RuntimeException )
+) throw( RuntimeException, std::exception )
{
// Safe impossible cases
// Check valid call of this method.
@@ -243,7 +243,7 @@ void SAL_CALL ProgressMonitor::addText(
}
// XProgressMonitor
-void SAL_CALL ProgressMonitor::removeText ( const OUString& rTopic, sal_Bool bbeforeProgress ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::removeText ( const OUString& rTopic, sal_Bool bbeforeProgress ) throw( RuntimeException, std::exception )
{
// Safe impossible cases
// Check valid call of this method.
@@ -286,7 +286,7 @@ void SAL_CALL ProgressMonitor::updateText (
const OUString& rTopic,
const OUString& rText,
sal_Bool bbeforeProgress
-) throw( RuntimeException )
+) throw( RuntimeException, std::exception )
{
// Safe impossible cases
// Check valid call of this method.
@@ -310,7 +310,7 @@ void SAL_CALL ProgressMonitor::updateText (
}
// XProgressBar
-void SAL_CALL ProgressMonitor::setForegroundColor ( sal_Int32 nColor ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setForegroundColor ( sal_Int32 nColor ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -319,7 +319,7 @@ void SAL_CALL ProgressMonitor::setForegroundColor ( sal_Int32 nColor ) throw( Ru
}
// XProgressBar
-void SAL_CALL ProgressMonitor::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setBackgroundColor ( sal_Int32 nColor ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -328,7 +328,7 @@ void SAL_CALL ProgressMonitor::setBackgroundColor ( sal_Int32 nColor ) throw( Ru
}
// XProgressBar
-void SAL_CALL ProgressMonitor::setValue ( sal_Int32 nValue ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setValue ( sal_Int32 nValue ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -337,7 +337,7 @@ void SAL_CALL ProgressMonitor::setValue ( sal_Int32 nValue ) throw( RuntimeExcep
}
// XProgressBar
-void SAL_CALL ProgressMonitor::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -346,7 +346,7 @@ void SAL_CALL ProgressMonitor::setRange ( sal_Int32 nMin, sal_Int32 nMax ) throw
}
// XProgressBar
-sal_Int32 SAL_CALL ProgressMonitor::getValue () throw( RuntimeException )
+sal_Int32 SAL_CALL ProgressMonitor::getValue () throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -355,7 +355,7 @@ sal_Int32 SAL_CALL ProgressMonitor::getValue () throw( RuntimeException )
}
// XButton
-void SAL_CALL ProgressMonitor::addActionListener ( const css::uno::Reference< XActionListener > & rListener ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::addActionListener ( const css::uno::Reference< XActionListener > & rListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -367,7 +367,7 @@ void SAL_CALL ProgressMonitor::addActionListener ( const css::uno::Reference< XA
}
// XButton
-void SAL_CALL ProgressMonitor::removeActionListener ( const css::uno::Reference< XActionListener > & rListener ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::removeActionListener ( const css::uno::Reference< XActionListener > & rListener ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -379,7 +379,7 @@ void SAL_CALL ProgressMonitor::removeActionListener ( const css::uno::Reference<
}
// XButton
-void SAL_CALL ProgressMonitor::setLabel ( const OUString& rLabel ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setLabel ( const OUString& rLabel ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -391,7 +391,7 @@ void SAL_CALL ProgressMonitor::setLabel ( const OUString& rLabel ) throw( Runtim
}
// XButton
-void SAL_CALL ProgressMonitor::setActionCommand ( const OUString& rCommand ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setActionCommand ( const OUString& rCommand ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -403,13 +403,13 @@ void SAL_CALL ProgressMonitor::setActionCommand ( const OUString& rCommand ) thr
}
// XLayoutConstrains
-Size SAL_CALL ProgressMonitor::getMinimumSize () throw( RuntimeException )
+Size SAL_CALL ProgressMonitor::getMinimumSize () throw( RuntimeException, std::exception )
{
return Size (PROGRESSMONITOR_DEFAULT_WIDTH, PROGRESSMONITOR_DEFAULT_HEIGHT) ;
}
// XLayoutConstrains
-Size SAL_CALL ProgressMonitor::getPreferredSize () throw( RuntimeException )
+Size SAL_CALL ProgressMonitor::getPreferredSize () throw( RuntimeException, std::exception )
{
// Ready for multithreading
ClearableMutexGuard aGuard ( m_aMutex ) ;
@@ -453,13 +453,13 @@ Size SAL_CALL ProgressMonitor::getPreferredSize () throw( RuntimeException )
}
// XLayoutConstrains
-Size SAL_CALL ProgressMonitor::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException )
+Size SAL_CALL ProgressMonitor::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException, std::exception )
{
return getPreferredSize () ;
}
// XControl
-void SAL_CALL ProgressMonitor::createPeer ( const css::uno::Reference< XToolkit > & rToolkit, const css::uno::Reference< XWindowPeer > & rParent ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::createPeer ( const css::uno::Reference< XToolkit > & rToolkit, const css::uno::Reference< XWindowPeer > & rParent ) throw( RuntimeException, std::exception )
{
if (!getPeer().is())
{
@@ -474,14 +474,14 @@ void SAL_CALL ProgressMonitor::createPeer ( const css::uno::Reference< XToolkit
}
// XControl
-sal_Bool SAL_CALL ProgressMonitor::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException )
+sal_Bool SAL_CALL ProgressMonitor::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException, std::exception )
{
// We have no model.
return sal_False ;
}
// XControl
-css::uno::Reference< XControlModel > SAL_CALL ProgressMonitor::getModel () throw( RuntimeException )
+css::uno::Reference< XControlModel > SAL_CALL ProgressMonitor::getModel () throw( RuntimeException, std::exception )
{
// We have no model.
// return (XControlModel*)this ;
@@ -489,7 +489,7 @@ css::uno::Reference< XControlModel > SAL_CALL ProgressMonitor::getModel () throw
}
// XComponent
-void SAL_CALL ProgressMonitor::dispose () throw( RuntimeException )
+void SAL_CALL ProgressMonitor::dispose () throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -521,7 +521,7 @@ void SAL_CALL ProgressMonitor::dispose () throw( RuntimeException )
}
// XWindow
-void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags ) throw( RuntimeException )
+void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32 nHeight, sal_Int16 nFlags ) throw( RuntimeException, std::exception )
{
Rectangle aBasePosSize = getPosSize () ;
BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ;
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index 91d1b286d76f..e90b21a67bb9 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -73,7 +73,7 @@ StatusIndicator::~StatusIndicator() {}
// XInterface
-Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( RuntimeException )
+Any SAL_CALL StatusIndicator::queryInterface( const Type& rType ) throw( RuntimeException, std::exception )
{
// Attention:
// Don't use mutex or guard in this method!!! Is a method of XInterface.
@@ -124,7 +124,7 @@ void SAL_CALL StatusIndicator::release() throw()
// XTypeProvider
-Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException )
+Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException, std::exception )
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -156,7 +156,7 @@ Sequence< Type > SAL_CALL StatusIndicator::getTypes() throw( RuntimeException )
// XAggregation
-Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( RuntimeException )
+Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( RuntimeException, std::exception )
{
// Ask for my own supported interfaces ...
// Attention: XTypeProvider and XInterface are supported by OComponentHelper!
@@ -180,7 +180,7 @@ Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( Runti
// XStatusIndicator
-void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) throw( RuntimeException )
+void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -196,7 +196,7 @@ void SAL_CALL StatusIndicator::start( const OUString& sText, sal_Int32 nRange )
// XStatusIndicator
-void SAL_CALL StatusIndicator::end() throw( RuntimeException )
+void SAL_CALL StatusIndicator::end() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -211,7 +211,7 @@ void SAL_CALL StatusIndicator::end() throw( RuntimeException )
// XStatusIndicator
-void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeException )
+void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -224,7 +224,7 @@ void SAL_CALL StatusIndicator::setText( const OUString& sText ) throw( RuntimeEx
// XStatusIndicator
-void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeException )
+void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -237,7 +237,7 @@ void SAL_CALL StatusIndicator::setValue( sal_Int32 nValue ) throw( RuntimeExcept
// XStatusIndicator
-void SAL_CALL StatusIndicator::reset() throw( RuntimeException )
+void SAL_CALL StatusIndicator::reset() throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard( m_aMutex );
@@ -252,7 +252,7 @@ void SAL_CALL StatusIndicator::reset() throw( RuntimeException )
// XLayoutConstrains
-Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException )
+Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException, std::exception )
{
return Size (STATUSINDICATOR_DEFAULT_WIDTH, STATUSINDICATOR_DEFAULT_HEIGHT) ;
}
@@ -261,7 +261,7 @@ Size SAL_CALL StatusIndicator::getMinimumSize () throw( RuntimeException )
// XLayoutConstrains
-Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException )
+Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException, std::exception )
{
// Ready for multithreading
ClearableMutexGuard aGuard ( m_aMutex ) ;
@@ -294,7 +294,7 @@ Size SAL_CALL StatusIndicator::getPreferredSize () throw( RuntimeException )
// XLayoutConstrains
-Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException )
+Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) throw( RuntimeException, std::exception )
{
return getPreferredSize () ;
}
@@ -306,7 +306,7 @@ Size SAL_CALL StatusIndicator::calcAdjustedSize ( const Size& /*rNewSize*/ ) thr
void SAL_CALL StatusIndicator::createPeer (
const css::uno::Reference< XToolkit > & rToolkit,
const css::uno::Reference< XWindowPeer > & rParent
-) throw( RuntimeException )
+) throw( RuntimeException, std::exception )
{
if( !getPeer().is() )
{
@@ -324,7 +324,7 @@ void SAL_CALL StatusIndicator::createPeer (
// XControl
-sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException )
+sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XControlModel > & /*rModel*/ ) throw( RuntimeException, std::exception )
{
// We have no model.
return sal_False ;
@@ -334,7 +334,7 @@ sal_Bool SAL_CALL StatusIndicator::setModel ( const css::uno::Reference< XContro
// XControl
-css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw( RuntimeException )
+css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw( RuntimeException, std::exception )
{
// We have no model.
// return (XControlModel*)this ;
@@ -345,7 +345,7 @@ css::uno::Reference< XControlModel > SAL_CALL StatusIndicator::getModel () throw
// XComponent
-void SAL_CALL StatusIndicator::dispose () throw( RuntimeException )
+void SAL_CALL StatusIndicator::dispose () throw( RuntimeException, std::exception )
{
// Ready for multithreading
MutexGuard aGuard ( m_aMutex ) ;
@@ -373,7 +373,7 @@ void SAL_CALL StatusIndicator::setPosSize (
sal_Int32 nWidth,
sal_Int32 nHeight,
sal_Int16 nFlags
-) throw( RuntimeException )
+) throw( RuntimeException, std::exception )
{
Rectangle aBasePosSize = getPosSize () ;
BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ;
diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
index de2212a58801..3952af74f981 100644
--- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx
@@ -97,7 +97,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -149,7 +149,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -166,7 +166,7 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPoint > SAL_CALL queryConnectionPoint(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -184,7 +184,7 @@ public:
virtual void SAL_CALL advise(
const ::com::sun::star::uno::Type& aType ,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -202,7 +202,7 @@ public:
virtual void SAL_CALL unadvise(
const ::com::sun::star::uno::Type& aType ,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx
index e1687b48fb2d..b6c7789bfb85 100644
--- a/UnoControls/source/inc/OConnectionPointHelper.hxx
+++ b/UnoControls/source/inc/OConnectionPointHelper.hxx
@@ -101,7 +101,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -153,7 +153,7 @@ public:
*/
virtual ::com::sun::star::uno::Type SAL_CALL getConnectionType()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -169,7 +169,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPointContainer > SAL_CALL getConnectionPointContainer()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -189,7 +189,7 @@ public:
) throw (
::com::sun::star::lang::ListenerExistException,
::com::sun::star::lang::InvalidListenerException ,
- ::com::sun::star::uno::RuntimeException
+ ::com::sun::star::uno::RuntimeException, std::exception
);
/**_________________________________________________________________________________________________________
@@ -206,7 +206,7 @@ public:
*/
virtual void SAL_CALL unadvise( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -222,7 +222,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > SAL_CALL getConnections()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// private methods
diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx
index b0bf03d2a802..a244e8b71423 100644
--- a/UnoControls/source/inc/framecontrol.hxx
+++ b/UnoControls/source/inc/framecontrol.hxx
@@ -81,7 +81,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -120,7 +120,7 @@ public:
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -128,7 +128,7 @@ public:
::com::sun::star::uno::Any SAL_CALL queryAggregation(
const ::com::sun::star::uno::Type& aType
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -137,20 +137,20 @@ public:
virtual void SAL_CALL createPeer(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit ,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent
- ) throw ( ::com::sun::star::uno::RuntimeException );
+ ) throw ( ::com::sun::star::uno::RuntimeException, std::exception );
virtual sal_Bool SAL_CALL setModel(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException );
+ 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 );
// XView
@@ -158,31 +158,31 @@ public:
virtual sal_Bool SAL_CALL setGraphics(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics >& xDevice
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XGraphics > SAL_CALL getGraphics()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XConnectionPointContainer
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getConnectionPointTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XConnectionPoint > SAL_CALL queryConnectionPoint(
const ::com::sun::star::uno::Type& aType
- ) throw ( ::com::sun::star::uno::RuntimeException );
+ ) throw ( ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL advise(
const ::com::sun::star::uno::Type& aType ,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
virtual void SAL_CALL unadvise(
const ::com::sun::star::uno::Type& aType ,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// impl but public methods to register service!
@@ -212,7 +212,7 @@ protected:
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle ,
const ::com::sun::star::uno::Any& rValue
- ) throw ( ::com::sun::star::uno::Exception );
+ ) throw ( ::com::sun::star::uno::Exception, std::exception );
virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue ,
sal_Int32 nHandle ) const ;
@@ -224,7 +224,7 @@ protected:
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// BaseControl
diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx
index cbe8a7e32d0a..15698fca9d47 100644
--- a/UnoControls/source/inc/progressbar.hxx
+++ b/UnoControls/source/inc/progressbar.hxx
@@ -106,7 +106,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -158,7 +158,7 @@ public:
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -178,7 +178,7 @@ public:
*/
::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XProgressBar
@@ -198,7 +198,7 @@ public:
*/
virtual void SAL_CALL setForegroundColor( sal_Int32 nColor )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -214,7 +214,7 @@ public:
*/
virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -229,7 +229,7 @@ public:
@onerror
*/
- virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -247,7 +247,7 @@ public:
virtual void SAL_CALL setRange(
sal_Int32 nMin ,
sal_Int32 nMax
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -262,7 +262,7 @@ public:
@onerror
*/
- virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XWindow
@@ -287,7 +287,7 @@ public:
sal_Int32 nWidth ,
sal_Int32 nHeight ,
sal_Int16 nFlags
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -308,7 +308,7 @@ public:
virtual sal_Bool SAL_CALL setModel(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_________________________________________________________________________________________________________
@short
@@ -324,7 +324,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// BaseControl
diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx
index 6bbcd22c7842..0e2aede37a57 100644
--- a/UnoControls/source/inc/progressmonitor.hxx
+++ b/UnoControls/source/inc/progressmonitor.hxx
@@ -163,7 +163,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -214,7 +214,7 @@ public:
@onerror A RuntimeException is thrown.
*/
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -234,7 +234,7 @@ public:
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XProgressMonitor
@@ -264,7 +264,7 @@ public:
const OUString& sTopic ,
const OUString& sText ,
sal_Bool bbeforeProgress
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -282,7 +282,7 @@ public:
virtual void SAL_CALL removeText(
const OUString& sTopic ,
sal_Bool bbeforeProgress
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -301,7 +301,7 @@ public:
const OUString& sTopic ,
const OUString& sText ,
sal_Bool bbeforeProgress
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XProgressBar
@@ -320,7 +320,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setForegroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -335,7 +335,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setBackgroundColor( sal_Int32 nColor ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -350,7 +350,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -366,7 +366,7 @@ public:
*/
virtual void SAL_CALL setRange( sal_Int32 nMin ,
- sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException );
+ sal_Int32 nMax ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -381,7 +381,7 @@ public:
@onerror -
*/
- virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException );
+ virtual sal_Int32 SAL_CALL getValue() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XButton
@@ -402,7 +402,7 @@ public:
virtual void SAL_CALL addActionListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -419,7 +419,7 @@ public:
virtual void SAL_CALL removeActionListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XActionListener >& xListener
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -434,7 +434,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setLabel( const OUString& sLabel ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -450,7 +450,7 @@ public:
*/
virtual void SAL_CALL setActionCommand( const OUString& sCommand )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XLayoutConstrains
@@ -469,7 +469,7 @@ public:
@onerror -
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -484,7 +484,7 @@ public:
@onerror -
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -500,7 +500,7 @@ public:
*/
virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -522,7 +522,7 @@ public:
virtual void SAL_CALL createPeer(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit ,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -538,7 +538,7 @@ public:
*/
virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -554,7 +554,7 @@ public:
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
@@ -573,7 +573,7 @@ public:
@onerror -
*/
- virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XWindow
@@ -596,7 +596,7 @@ public:
sal_Int32 nY ,
sal_Int32 nWidth ,
sal_Int32 nHeight ,
- sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException );
+ sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// BaseControl
diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx
index 6dc51da763a4..df4dfdafc8d6 100644
--- a/UnoControls/source/inc/statusindicator.hxx
+++ b/UnoControls/source/inc/statusindicator.hxx
@@ -120,7 +120,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short increment refcount
@@ -172,7 +172,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XAggregation
@@ -192,7 +192,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XStatusIndicator
@@ -214,7 +214,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
virtual void SAL_CALL start(
const OUString& sText ,
sal_Int32 nRange
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/*-****************************************************************************************************
@short -
@@ -229,7 +229,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*//*-*****************************************************************************************************/
- virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL end() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/*-****************************************************************************************************
@short -
@@ -244,7 +244,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*//*-*****************************************************************************************************/
- virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL reset() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/*-****************************************************************************************************
@short -
@@ -259,7 +259,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*//*-*****************************************************************************************************/
- virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setText( const OUString& sText ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/*-****************************************************************************************************
@short -
@@ -274,7 +274,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*//*-*****************************************************************************************************/
- virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL setValue( sal_Int32 nValue ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XLayoutConstrains
@@ -293,7 +293,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getMinimumSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -308,7 +308,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::awt::Size SAL_CALL getPreferredSize() throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -324,7 +324,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual ::com::sun::star::awt::Size SAL_CALL calcAdjustedSize( const ::com::sun::star::awt::Size& aNewSize )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XControl
@@ -346,7 +346,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
virtual void SAL_CALL createPeer(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& xToolkit ,
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent
- ) throw( ::com::sun::star::uno::RuntimeException );
+ ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -362,7 +362,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel )
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
/**_______________________________________________________________________________________________________
@short -
@@ -378,7 +378,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > SAL_CALL getModel()
- throw( ::com::sun::star::uno::RuntimeException );
+ throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XComponent
@@ -397,7 +397,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
@onerror -
*/
- virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException );
+ virtual void SAL_CALL dispose() throw( ::com::sun::star::uno::RuntimeException, std::exception );
// XWindow
@@ -420,7 +420,7 @@ class StatusIndicator : public ::com::sun::star::awt::XLayoutConstrains
sal_Int32 nY ,
sal_Int32 nWidth ,
sal_Int32 nHeight ,
- sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException );
+ sal_Int16 nFlags ) throw( ::com::sun::star::uno::RuntimeException, std::exception );
// BaseControl