diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:08:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-28 13:49:51 +0100 |
commit | abe5aaa7269ff0c2105346ac44d05342d5be3be7 (patch) | |
tree | a3d4c60d1d131767dceccf6063fb704f2347b6c2 /include/editeng | |
parent | ddaaeec1b16544d588244461cce3a27e4027c604 (diff) |
coverity#706505 Uncaught exception
Change-Id: Ia00361fb1d86223a7ed65f0be295b291183e3ad6
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/unonrule.hxx | 3 | ||||
-rw-r--r-- | include/editeng/unotext.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/editeng/unonrule.hxx b/include/editeng/unonrule.hxx index 88d57e7ff60c..f600b6ab5753 100644 --- a/include/editeng/unonrule.hxx +++ b/include/editeng/unonrule.hxx @@ -72,7 +72,8 @@ public: virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // internal - com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const throw(); + com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> getNumberingRuleByIndex( sal_Int32 nIndex) const + throw (css::uno::RuntimeException); void setNumberingRuleByIndex( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rProperties, sal_Int32 nIndex) throw( com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException ); static sal_Int16 Compare( const com::sun::star::uno::Any& rAny1, const com::sun::star::uno::Any& rAny2 ); diff --git a/include/editeng/unotext.hxx b/include/editeng/unotext.hxx index 9000c9c9c2b7..03b2d0e1e545 100644 --- a/include/editeng/unotext.hxx +++ b/include/editeng/unotext.hxx @@ -270,7 +270,8 @@ protected: virtual void _setPropertyToDefault( SvxTextForwarder* pForwarder, const SfxItemPropertySimpleEntry* pMap, sal_Int32 nPara ) throw( ::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException ); void SetEditSource( SvxEditSource* _pEditSource ) throw(); - virtual void getPropertyValue( const SfxItemPropertySimpleEntry* pMap, com::sun::star::uno::Any& rAny, const SfxItemSet& rSet ) throw(::com::sun::star::beans::UnknownPropertyException ); + virtual void getPropertyValue( const SfxItemPropertySimpleEntry* pMap, com::sun::star::uno::Any& rAny, const SfxItemSet& rSet ) + throw(css::beans::UnknownPropertyException, css::uno::RuntimeException); virtual void setPropertyValue( const SfxItemPropertySimpleEntry* pMap, const com::sun::star::uno::Any& rValue, const ESelection& rSelection, const SfxItemSet& rOldSet, SfxItemSet& rNewSet ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::IllegalArgumentException ); SvxUnoTextRangeBase( const SvxItemPropertySet* _pSet ) throw(); |