From 9db52c294f37c9404e846a1c0bd1741f142f5708 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 8 Sep 2018 15:08:11 +0200 Subject: clan-tidy bugprone-throw-keyword-missing in SubmissionPropertyHandler warning: suspicious exception object created but not thrown; did you mean 'throw IllegalArgumentException'? looks like a mistake in commit cd5b956817d0a6585d44f50857d690e9dc58145e Date: Tue Mar 14 10:33:39 2006 +0000 INTEGRATION: CWS pbrwuno (1.3.88); FILE MERGED Change-Id: I828501f32b3caff8c4ca05a8a8c4b063dccecd3b Reviewed-on: https://gerrit.libreoffice.org/60196 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/propctrlr/submissionhandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/source') diff --git a/extensions/source/propctrlr/submissionhandler.cxx b/extensions/source/propctrlr/submissionhandler.cxx index 664c9c9725b3..164815bbf554 100644 --- a/extensions/source/propctrlr/submissionhandler.cxx +++ b/extensions/source/propctrlr/submissionhandler.cxx @@ -280,7 +280,7 @@ namespace pcr if ( !_rxControlFactory.is() ) throw NullPointerException(); if ( !m_pHelper.get() ) - RuntimeException(); + throw RuntimeException(); std::vector< OUString > aListEntries; PropertyId nPropId( impl_getPropertyId_throwUnknownProperty( _rPropertyName ) ); -- cgit