Kaydet (Commit) 5ad4e88c authored tarafından Noel Grandin's avatar Noel Grandin

handle empty tools::Rectangle in filter

Change-Id: I7f11f6b466cce85718ecf3d158f78962e756479f
Reviewed-on: https://gerrit.libreoffice.org/72111
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 5ddaaa0c
...@@ -5174,8 +5174,8 @@ sal_uInt32 EscherEx::EnterGroup( const OUString& rShapeName, const tools::Rectan ...@@ -5174,8 +5174,8 @@ sal_uInt32 EscherEx::EnterGroup( const OUString& rShapeName, const tools::Rectan
mpOutStrm->Tell() ); mpOutStrm->Tell() );
mpOutStrm ->WriteInt32( aRect.Left() ) // Bounding box for the grouped shapes to which they will be attached mpOutStrm ->WriteInt32( aRect.Left() ) // Bounding box for the grouped shapes to which they will be attached
.WriteInt32( aRect.Top() ) .WriteInt32( aRect.Top() )
.WriteInt32( aRect.Right() ) .WriteInt32( aRect.IsWidthEmpty() ? aRect.Left() : aRect.Right() )
.WriteInt32( aRect.Bottom() ); .WriteInt32( aRect.IsHeightEmpty() ? aRect.Top() : aRect.Bottom() );
sal_uInt32 nShapeId = GenerateShapeId(); sal_uInt32 nShapeId = GenerateShapeId();
if ( !mnGroupLevel ) if ( !mnGroupLevel )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment