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

coverity#707382 Uncaught exception

Change-Id: Idad4fbff404c23b74a83c2d3e745363c52c3d90a
üst 9ed8e1f1
......@@ -20,16 +20,19 @@
#define __ooo_vba_word_XParagraphFormat_idl__
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/script/BasicErrorException.idl>
#include <ooo/vba/XHelperInterface.idl>
module ooo { module vba { module word {
interface XParagraphFormat
{
interface ooo::vba::XHelperInterface;
[attribute] long Alignment;
[attribute] long Alignment
{
get raises ( com::sun::star::script::BasicErrorException );
};
[attribute] float FirstLineIndent;
[attribute] any KeepTogether;
[attribute] any KeepWithNext;
......
......@@ -44,7 +44,7 @@ SwVbaParagraphFormat::~SwVbaParagraphFormat()
{
}
sal_Int32 SAL_CALL SwVbaParagraphFormat::getAlignment() throw (uno::RuntimeException, std::exception)
sal_Int32 SAL_CALL SwVbaParagraphFormat::getAlignment() throw (uno::RuntimeException, css::script::BasicErrorException, std::exception)
{
style::ParagraphAdjust aParaAdjust = style::ParagraphAdjust_LEFT;
mxParaProps->getPropertyValue("ParaAdjust") >>= aParaAdjust;
......
......@@ -47,7 +47,7 @@ public:
virtual ~SwVbaParagraphFormat();
// Attributes
virtual ::sal_Int32 SAL_CALL getAlignment() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::sal_Int32 SAL_CALL getAlignment() throw (css::uno::RuntimeException, css::script::BasicErrorException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setAlignment( ::sal_Int32 _alignment ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual float SAL_CALL getFirstLineIndent() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setFirstLineIndent( float _firstlineindent ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
......
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