diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-15 09:30:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-15 12:42:32 +0100 |
commit | 15eb93059f8a613338f54aaea4d636b0ac2e3e98 (patch) | |
tree | 019a4d203da99cb9e46ce4477cc843b1f224d27c | |
parent | cd1c9f5167e797807d6726219f06190657f58372 (diff) |
cid#1470701 Uncaught exception
Change-Id: Iaeaf95681c800192fcf55c77885c2f411c7ec609
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109324
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/inc/graphic/UnoGraphic.hxx | 2 | ||||
-rw-r--r-- | vcl/source/graphic/UnoGraphic.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx index f6eed8fabdf0..33f97df5b183 100644 --- a/vcl/inc/graphic/UnoGraphic.hxx +++ b/vcl/inc/graphic/UnoGraphic.hxx @@ -42,7 +42,7 @@ public: virtual ~Graphic() throw() override; using ::unographic::GraphicDescriptor::init; - void init( const ::Graphic& rGraphic ) throw(); + void init(const ::Graphic& rGraphic); private: diff --git a/vcl/source/graphic/UnoGraphic.cxx b/vcl/source/graphic/UnoGraphic.cxx index 4fddaebd6cdb..eeda9d2a38c8 100644 --- a/vcl/source/graphic/UnoGraphic.cxx +++ b/vcl/source/graphic/UnoGraphic.cxx @@ -42,8 +42,7 @@ Graphic::~Graphic() throw() { } -void Graphic::init( const ::Graphic& rGraphic ) - throw() +void Graphic::init(const ::Graphic& rGraphic) { maGraphic = rGraphic; unographic::GraphicDescriptor::init(maGraphic); |