From 1aabba2778e3a634be00d8a6eb0388c4aaf07ccf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 19 Jan 2017 17:49:03 +0100 Subject: New loplugin:dynexcspec: Add @throws documentation, ucbhelper Change-Id: Ib197a945bb51823399c4e19a5ffdfe64483107a3 --- ucbhelper/source/client/content.cxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'ucbhelper/source') diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index bcc44b686970..5f723e62cfb4 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -201,7 +201,8 @@ public: // Helpers. - +/// @throws ContentCreationException +/// @throws RuntimeException static void ensureContentProviderForURL( const Reference< XUniversalContentBroker >& rBroker, const OUString & rURL ) throw ( ContentCreationException, RuntimeException ) @@ -217,7 +218,8 @@ static void ensureContentProviderForURL( const Reference< XUniversalContentBroke } } - +/// @throws ContentCreationException +/// @throws RuntimeException static Reference< XContentIdentifier > getContentIdentifierThrow( const Reference< XUniversalContentBroker > & rBroker, const OUString & rURL) @@ -239,6 +241,7 @@ static Reference< XContentIdentifier > getContentIdentifierThrow( return xId; } +/// @throws RuntimeException static Reference< XContentIdentifier > getContentIdentifierNoThrow( const Reference< XUniversalContentBroker > & rBroker, const OUString & rURL) @@ -247,6 +250,8 @@ static Reference< XContentIdentifier > getContentIdentifierNoThrow( return rBroker->createContentIdentifier(rURL); } +/// @throws ContentCreationException +/// @throws RuntimeException static Reference< XContent > getContentThrow( const Reference< XUniversalContentBroker > & rBroker, const Reference< XContentIdentifier > & xId) @@ -277,7 +282,7 @@ static Reference< XContent > getContentThrow( return xContent; } - +/// @throws RuntimeException static Reference< XContent > getContentNoThrow( const Reference< XUniversalContentBroker > & rBroker, const Reference< XContentIdentifier > & xId) -- cgit