summaryrefslogtreecommitdiff
path: root/ucbhelper/source/client/content.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:49:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:11 +0100
commit1aabba2778e3a634be00d8a6eb0388c4aaf07ccf (patch)
treece1371acf050de02c4801d6ca9a18593e1b03712 /ucbhelper/source/client/content.cxx
parent53d6df4f54d92bdb527ff2824561db998695e865 (diff)
New loplugin:dynexcspec: Add @throws documentation, ucbhelper
Change-Id: Ib197a945bb51823399c4e19a5ffdfe64483107a3
Diffstat (limited to 'ucbhelper/source/client/content.cxx')
-rw-r--r--ucbhelper/source/client/content.cxx11
1 files changed, 8 insertions, 3 deletions
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)