diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 10:48:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-05-26 15:51:54 +0100 |
commit | 91e8185802741eb386b93cfc7fcce773951881b4 (patch) | |
tree | 7e31adbc2a6c37cab0b5c135dd1d8affeb1e5367 /sd | |
parent | b07446600796bea0e00840d2fcd85af4d9deb8f5 (diff) |
coverity#983778 Uncaught exception
Change-Id: I27ebb40f21a15c7e1696217a53d8c07e1d1161ad
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/stlsheet.hxx | 2 | ||||
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx index 90ce7eb28e81..cad63a7d5163 100644 --- a/sd/inc/stlsheet.hxx +++ b/sd/inc/stlsheet.hxx @@ -120,7 +120,7 @@ public: void notifyModifyListener(); protected: - const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw(); + const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw (css::uno::RuntimeException); virtual void Load (SvStream& rIn, sal_uInt16 nVersion) SAL_OVERRIDE; virtual void Store(SvStream& rOut) SAL_OVERRIDE; diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx index 1838b5a4899e..c19cba34dd75 100644 --- a/sd/source/core/stlsheet.cxx +++ b/sd/source/core/stlsheet.cxx @@ -1359,7 +1359,7 @@ Any SAL_CALL SdStyleSheet::getPropertyDefault( const OUString& aPropertyName ) t /** this is used because our property map is not sorted yet */ -const SfxItemPropertySimpleEntry* SdStyleSheet::getPropertyMapEntry( const OUString& rPropertyName ) const throw() +const SfxItemPropertySimpleEntry* SdStyleSheet::getPropertyMapEntry( const OUString& rPropertyName ) const throw (css::uno::RuntimeException) { return GetStylePropertySet().getPropertyMapEntry(rPropertyName); } |