Kaydet (Commit) dc0b9ffb authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308595 Uncaught exception

Change-Id: I2245925215e98077c9665803435d39e9a05de367
üst 69dcc8f4
...@@ -115,7 +115,7 @@ protected: ...@@ -115,7 +115,7 @@ protected:
@param rxLayer @param rxLayer
The new layer object. The new layer object.
*/ */
void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException); void setActiveLayer (const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayer>& rxLayer) throw (css::uno::RuntimeException, std::exception);
void SetZoom( sal_Int16 nZoom ); void SetZoom( sal_Int16 nZoom );
sal_Int16 GetZoom() const; sal_Int16 GetZoom() const;
......
...@@ -127,7 +127,7 @@ Reference<drawing::XLayer> SdUnoDrawView::getActiveLayer() throw () ...@@ -127,7 +127,7 @@ Reference<drawing::XLayer> SdUnoDrawView::getActiveLayer() throw ()
} }
void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer) void SdUnoDrawView::setActiveLayer (const Reference<drawing::XLayer>& rxLayer)
throw (uno::RuntimeException) throw (uno::RuntimeException, std::exception)
{ {
// Get the SdrLayer object corresponding to the given reference. // Get the SdrLayer object corresponding to the given reference.
if ( ! rxLayer.is()) if ( ! rxLayer.is())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment