From 6dd06494227d2f09b18619973735b9f9b9e65663 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 12 Feb 2015 11:04:08 +0000 Subject: coverity#1269574 Uncaught exception and coverity#1269583 Uncaught exception Change-Id: I046d19894183167a9b54f0975508378babc531c7 --- include/canvas/base/canvasbase.hxx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx index 9f691e3a722a..98772d2fcf3c 100644 --- a/include/canvas/base/canvasbase.hxx +++ b/include/canvas/base/canvasbase.hxx @@ -167,11 +167,13 @@ namespace canvas maCanvasHelper.drawLine( this, aStartPoint, aEndPoint, viewState, renderState ); } - virtual void SAL_CALL drawBezier( const ::com::sun::star::geometry::RealBezierSegment2D& aBezierSegment, - const ::com::sun::star::geometry::RealPoint2D& aEndPoint, - const ::com::sun::star::rendering::ViewState& viewState, - const ::com::sun::star::rendering::RenderState& renderState ) throw (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE + virtual void SAL_CALL drawBezier( const css::geometry::RealBezierSegment2D& aBezierSegment, + const css::geometry::RealPoint2D& aEndPoint, + const css::rendering::ViewState& viewState, + const css::rendering::RenderState& renderState ) + throw (css::lang::IllegalArgumentException, + css::uno::RuntimeException, + std::exception) SAL_OVERRIDE { tools::verifyArgs(aBezierSegment, aEndPoint, viewState, renderState, BOOST_CURRENT_FUNCTION, -- cgit