summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-19 17:58:21 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-19 18:03:21 +0100
commit9cc666630dafd3fc6cf65ec5b0048df58a3af5a2 (patch)
tree88ffe3ae019923f53c3503a3e082cb054e76d1c1 /embeddedobj
parent35e122bfa5e3de9f7c4eb762a206642c4e22157e (diff)
New loplugin:dynexcspec: Add @throws documentation, embeddedobj
Change-Id: Icf9a507a2b1eec0ace22e727bdf7220bfe7096b8
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/inc/docholder.hxx3
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx8
-rw-r--r--embeddedobj/source/msole/olepersist.hxx2
3 files changed, 11 insertions, 2 deletions
diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx
index 2fac504a68ce..7e8ca8f63ae1 100644
--- a/embeddedobj/source/inc/docholder.hxx
+++ b/embeddedobj/source/inc/docholder.hxx
@@ -98,12 +98,13 @@ private:
const OUString& aContModuleName );
public:
-
+ /// @throws css::uno::Exception
static void FindConnectPoints(
const css::uno::Reference< css::container::XIndexAccess >& xMenu,
sal_Int32 nConnectPoints[2] )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
static css::uno::Reference< css::container::XIndexAccess > MergeMenusForInplace(
const css::uno::Reference< css::container::XIndexAccess >& xContMenu,
const css::uno::Reference< css::frame::XDispatchProvider >& xContDisp,
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx
index f018d01c7ad6..628a4bcb2089 100644
--- a/embeddedobj/source/inc/oleembobj.hxx
+++ b/embeddedobj/source/inc/oleembobj.hxx
@@ -199,11 +199,13 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper
css::uno::Reference< css::uno::XInterface > m_xParent;
protected:
-
+ /// @throws css::uno::Exception
css::uno::Reference< css::io::XStream > TryToGetAcceptableFormat_Impl(
const css::uno::Reference< css::io::XStream >& xStream )
throw ( css::uno::Exception );
+ /// @throws css::io::IOException
+ /// @throws css::uno::RuntimeException
css::uno::Reference< css::io::XStream > GetNewFilledTempStream_Impl(
const css::uno::Reference< css::io::XInputStream >& xInStream )
throw( css::io::IOException, css::uno::RuntimeException );
@@ -235,6 +237,7 @@ protected:
void GetRidOfComponent();
+ /// @throws css::uno::Exception
void StoreToLocation_Impl(
const css::uno::Reference< css::embed::XStorage >& xStorage,
const OUString& sEntName,
@@ -245,17 +248,20 @@ protected:
void StoreObjectToStream( css::uno::Reference< css::io::XOutputStream > const & xOutStream )
throw ( css::uno::Exception );
#endif
+ /// @throws css::uno::Exception
void InsertVisualCache_Impl(
const css::uno::Reference< css::io::XStream >& xTargetStream,
const css::uno::Reference< css::io::XStream >& xCachedVisualRepresentation )
throw ( css::uno::Exception );
+ /// @throws css::uno::Exception
void RemoveVisualCache_Impl( const css::uno::Reference< css::io::XStream >& xTargetStream )
throw ( css::uno::Exception );
void SetVisReplInStream( bool bExists );
bool HasVisReplInStream();
+ /// @throws css::uno::Exception
css::embed::VisualRepresentation GetVisualRepresentationInNativeFormat_Impl(
const css::uno::Reference< css::io::XStream >& xCachedVisRepr )
throw ( css::uno::Exception );
diff --git a/embeddedobj/source/msole/olepersist.hxx b/embeddedobj/source/msole/olepersist.hxx
index 09975a61f4f5..51adb40d2843 100644
--- a/embeddedobj/source/msole/olepersist.hxx
+++ b/embeddedobj/source/msole/olepersist.hxx
@@ -34,6 +34,8 @@ namespace com { namespace sun { namespace star {
OUString GetNewTempFileURL_Impl( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory );
+/// @throws css::io::IOException
+/// @throws css::uno::RuntimeException
OUString GetNewFilledTempFile_Impl(
css::uno::Reference<css::io::XInputStream > const & xInStream,
css::uno::Reference<css::lang::XMultiServiceFactory> const & xFactory)