summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-12 11:20:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-12 11:27:58 +0000
commit9b4431098950a71b3c355386d37bc0d4f3f440d2 (patch)
tree2752149351aadfa990f0c472c82f32f81f2ed52d /include
parent1445679455095081383a50eba5ce418a62952ee8 (diff)
coverity#1269591 Uncaught exception
and coverity#1269585 Uncaught exception Change-Id: I1ec46b1c3996cf95744c15351d2c26a47d079c77
Diffstat (limited to 'include')
-rw-r--r--include/canvas/base/canvasbase.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/canvas/base/canvasbase.hxx b/include/canvas/base/canvasbase.hxx
index cf2b1ee18417..432dc2997a31 100644
--- a/include/canvas/base/canvasbase.hxx
+++ b/include/canvas/base/canvasbase.hxx
@@ -384,12 +384,14 @@ namespace canvas
virtual ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCachedPrimitive > SAL_CALL
- drawText( const ::com::sun::star::rendering::StringContext& text,
- const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XCanvasFont >& xFont,
- const ::com::sun::star::rendering::ViewState& viewState,
- const ::com::sun::star::rendering::RenderState& renderState,
- sal_Int8 textDirection ) throw (::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::uno::RuntimeException) SAL_OVERRIDE
+ drawText(const css::rendering::StringContext& text,
+ const css::uno::Reference< ::com::sun::star::rendering::XCanvasFont >& xFont,
+ const css::rendering::ViewState& viewState,
+ const css::rendering::RenderState& renderState,
+ sal_Int8 textDirection)
+ throw (css::lang::IllegalArgumentException,
+ css::uno::RuntimeException,
+ std::exception) SAL_OVERRIDE
{
tools::verifyArgs(xFont, viewState, renderState,
BOOST_CURRENT_FUNCTION,