diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 09:52:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-06 12:16:00 +0000 |
commit | d097d86940371fc114292462d3dca95ebf299701 (patch) | |
tree | f0cac06f39f6ac5a1dca6274d21a44531b46ef0a /chart2/source | |
parent | 7165e1333e377b6975e4319963c1837939326438 (diff) |
coverity#1338265 Uncaught exception
Change-Id: I5fd48ccaa9dc5c0477cb1d7da307c8403d92e3f7
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/view/inc/PlotterBase.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/PlotterBase.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/inc/PlotterBase.hxx b/chart2/source/view/inc/PlotterBase.hxx index af9ac88aff91..5b7b935dfef5 100644 --- a/chart2/source/view/inc/PlotterBase.hxx +++ b/chart2/source/view/inc/PlotterBase.hxx @@ -56,7 +56,7 @@ public: , const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory , const OUString& rCID - ) throw (::com::sun::star::uno::RuntimeException ); + ) throw (css::uno::RuntimeException, std::exception); virtual void setScales( const ::std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis ); diff --git a/chart2/source/view/main/PlotterBase.cxx b/chart2/source/view/main/PlotterBase.cxx index 8d1334e128f5..d3fd0e7d78e4 100644 --- a/chart2/source/view/main/PlotterBase.cxx +++ b/chart2/source/view/main/PlotterBase.cxx @@ -44,7 +44,7 @@ void PlotterBase::initPlotter( const uno::Reference< drawing::XShapes >& xLogic , const uno::Reference< drawing::XShapes >& xFinalTarget , const uno::Reference< lang::XMultiServiceFactory >& xShapeFactory , const OUString& rCID ) - throw (uno::RuntimeException) + throw (uno::RuntimeException, std::exception) { OSL_PRECOND(xLogicTarget.is()&&xFinalTarget.is()&&xShapeFactory.is(),"no proper initialization parameters"); //is only allowed to be called once |