diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 15:05:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 17:50:31 +0200 |
commit | 2bbcdc574ee2ca5849d7ab52963e89d810633cac (patch) | |
tree | adb0f3eec39b4b45148ad3b0ab235d8c9d858536 /sd/source | |
parent | fd9582a56cbee82c2a790a35c81795469fa9ab48 (diff) |
clan-tidy bugprone-throw-keyword-missing in SdXShape
warning: suspicious exception object created but not thrown; did you
mean 'throw IllegalArgumentException'?
looks like a mistake in
commit 1d8d532b369330a3ee1e1fb65a16c34787b19667
Date: Fri Mar 18 16:03:40 2005 +0000
INTEGRATION: CWS impress36 (1.45.2); FILE MERGED
Change-Id: I338686e59e4c9b7737f6b304249c1081e4e763aa
Reviewed-on: https://gerrit.libreoffice.org/60195
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index 092a64862104..b24a6e5fd4df 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -571,7 +571,7 @@ void SAL_CALL SdXShape::setPropertyValue( const OUString& aPropertyName, const c { bool bDimHide = false; if( !(aValue >>= bDimHide) ) - lang::IllegalArgumentException(); + throw lang::IllegalArgumentException(); EffectMigration::SetDimHide( mpShape, bDimHide ); break; @@ -580,7 +580,7 @@ void SAL_CALL SdXShape::setPropertyValue( const OUString& aPropertyName, const c { bool bDimPrevious = false; if( !(aValue >>= bDimPrevious) ) - lang::IllegalArgumentException(); + throw lang::IllegalArgumentException(); EffectMigration::SetDimPrevious( mpShape, bDimPrevious ); break; @@ -589,7 +589,7 @@ void SAL_CALL SdXShape::setPropertyValue( const OUString& aPropertyName, const c { sal_Int32 nNewPos = 0; if( !(aValue >>= nNewPos) ) - lang::IllegalArgumentException(); + throw lang::IllegalArgumentException(); EffectMigration::SetPresentationOrder( mpShape, nNewPos ); break; |