summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/descriptor.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-13 20:28:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-14 09:21:01 +0100
commitdd9a1bae7c40b9441e640206e2b330a63fa23515 (patch)
treea125fe8127ece02079fe30dbaf087eb6027f5316 /svtools/source/graphic/descriptor.cxx
parent594a5e20f751e1fb8f9b4f3fb53851c3dfb671e6 (diff)
coverity#983902 Uncaught exception
Change-Id: Ic4e7413ac0c4c6c8eda9808e88572926e6b00be5
Diffstat (limited to 'svtools/source/graphic/descriptor.cxx')
-rw-r--r--svtools/source/graphic/descriptor.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx
index 1114923dc197..2ea8773dd5ec 100644
--- a/svtools/source/graphic/descriptor.cxx
+++ b/svtools/source/graphic/descriptor.cxx
@@ -63,25 +63,17 @@ GraphicDescriptor::GraphicDescriptor() :
{
}
-
-
GraphicDescriptor::~GraphicDescriptor()
throw()
{
}
-
-
void GraphicDescriptor::init( const ::Graphic& rGraphic )
- throw()
{
mpGraphic = &rGraphic;
}
-
-
void GraphicDescriptor::init( const OUString& rURL )
- throw()
{
boost::scoped_ptr<SvStream> pIStm(::utl::UcbStreamHelper::CreateStream( rURL, STREAM_READ ));
@@ -89,10 +81,7 @@ void GraphicDescriptor::init( const OUString& rURL )
implCreate( *pIStm, &rURL );
}
-
-
void GraphicDescriptor::init( const uno::Reference< io::XInputStream >& rxIStm, const OUString& rURL )
- throw()
{
boost::scoped_ptr<SvStream> pIStm(::utl::UcbStreamHelper::CreateStream( rxIStm ));
@@ -100,8 +89,6 @@ void GraphicDescriptor::init( const uno::Reference< io::XInputStream >& rxIStm,
implCreate( *pIStm, &rURL );
}
-
-
void GraphicDescriptor::implCreate( SvStream& rIStm, const OUString* pURL )
{
OUString aURL;