diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-16 13:25:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-16 17:52:18 +0200 |
commit | 267be127f2899f2e1b1f15b5a06707a9b83fcab4 (patch) | |
tree | 2858080c6d5e1037e870971e1a70778b95b8c7ef /svx | |
parent | 245c76630f86695234840601e76067388b740de2 (diff) |
retain Referer information available in OCommonEmbeddedObject ctor
Change-Id: I2cb901e81de3b7db73cd2088348ddad46ae603dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158052
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index 9e1f265dce2b..faff6e4ba6b7 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -480,7 +480,7 @@ void SvxOle2Shape::createLink( const OUString& aLinkURL ) awt::Size aSz = xObj->getVisualAreaSize( pOle2Obj->GetAspect() ); aRect.SetSize( Size( aSz.Width, aSz.Height ) ); } - catch( embed::NoVisualAreaSizeException& ) + catch (const uno::Exception&) {} pOle2Obj->SetLogicRect( aRect ); } |