diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-03-16 21:18:25 +0100 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2020-03-18 15:32:20 +0100 |
commit | 29ccc5f041562305c559d0e84ed90af9ccf302f7 (patch) | |
tree | 523e329f2c45e3f457ccae5d0b77b32e728ce77d /o3tl/qa/test-span.cxx | |
parent | 1086318fdba1d10eeb347ea00cf0b37a8edf8814 (diff) |
tdf#131118 VML import: fix size of non-autosize shapes containing text
Regression from commit b92293b3943423324064a8513c2e114d18817179
(tdf#103983 VML import: handle <v:textbox
style="mso-fit-shape-to-text:t">, 2020-01-20), the problem was that in
case we disable autosize too late, then the size will be already set
during adding text to the shape.
Do it before adding text, this way adding text won't change the shape
size, so it'll be correct at the end of the import.
(cherry picked from commit 4ee7ee1c4a515479bc174543af4dbc400035c0ba)
Change-Id: I9410fc695c3edfa5089d845864bf237e71c533c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90602
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'o3tl/qa/test-span.cxx')
0 files changed, 0 insertions, 0 deletions