From 15eb93059f8a613338f54aaea4d636b0ac2e3e98 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 15 Jan 2021 09:30:38 +0000 Subject: cid#1470701 Uncaught exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaeaf95681c800192fcf55c77885c2f411c7ec609 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109324 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/inc/graphic/UnoGraphic.hxx | 2 +- 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); -- cgit