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

coverity#983958 Uncaught exception

Change-Id: Idd9c2dcfbeceb3519b1632a2f9b2651c73451061
üst 742060f7
......@@ -22,8 +22,8 @@
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/beans/PropertyValues.idl>
#include <com/sun/star/lang/IllegalArgumentException.idl>
#include <com/sun/star/beans/UnknownPropertyException.idl>
#include <com/sun/star/beans/PropertyVetoException,idl>
#include <com/sun/star/text/XTextRange.idl>
......@@ -51,7 +51,8 @@ interface XTextPortionAppend : com::sun::star::uno::XInterface
[in] string Text,
[in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties )
raises( com::sun::star::lang::IllegalArgumentException,
com::sun::star::beans::UnknownPropertyException );
com::sun::star::beans::UnknownPropertyException,
com::sun::star::beans::PropertyVetoException );
/** inserts a new text portion to the paragraph at a given position.
......@@ -76,7 +77,8 @@ interface XTextPortionAppend : com::sun::star::uno::XInterface
[in] com::sun::star::beans::PropertyValues CharacterAndParagraphProperties,
[in] com::sun::star::text::XTextRange TextRange)
raises( com::sun::star::lang::IllegalArgumentException,
com::sun::star::beans::UnknownPropertyException );
com::sun::star::beans::UnknownPropertyException,
com::sun::star::beans::PropertyVetoException );
};
......
......@@ -228,8 +228,10 @@ public:
const ::com::sun::star::uno::Sequence<
::com::sun::star::beans::PropertyValue >&
rCharacterAndParagraphProperties)
throw (::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
throw (css::lang::IllegalArgumentException,
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference<
::com::sun::star::text::XTextRange > SAL_CALL
......@@ -243,6 +245,7 @@ public:
rTextRange)
throw (css::lang::IllegalArgumentException,
css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
css::uno::RuntimeException,
std::exception) SAL_OVERRIDE;
......
......@@ -1363,6 +1363,7 @@ SwXText::insertTextPortion(
rCharacterAndParagraphProperties,
const uno::Reference<text::XTextRange>& xInsertPosition)
throw (lang::IllegalArgumentException, beans::UnknownPropertyException,
beans::PropertyVetoException,
uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
......@@ -1443,7 +1444,8 @@ SwXText::appendTextPortion(
const OUString& rText,
const uno::Sequence< beans::PropertyValue > &
rCharacterAndParagraphProperties)
throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
throw (lang::IllegalArgumentException, beans::UnknownPropertyException,
beans::PropertyVetoException, uno::RuntimeException, std::exception)
{
// Right now this doesn't need a guard, as it's just calling the insert
// version, that has it already.
......
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