summaryrefslogtreecommitdiff
path: root/cppunit
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-09 16:54:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-09-19 19:14:21 +0000
commit19a9dda3ec36874d337de65364c265946c7004df (patch)
tree2c6e40c150ca17f519ac2dacf5dfa1026f787b7d /cppunit
parent2da3517dd289e00b98f7f8616a4faa9b00fb8403 (diff)
Resolves: fdo#34987 skip autoheight reset if it will be set to the same value
Triggered by aa9af08b389a106fcfb53842ac7669b208a27205 which explicitly sets rSet.Put( SdrTextAutoGrowHeightItem(FALSE) ); so there is something set on the style which is being overwritten. The code here resets the style to the default of "true" before going on to set it to the explicit "false" again. In that window of time the master shapes listen to the property change, on being set to autoheight they resize and on being unset, they remain stuck on their autoheight calculated size. Reviewed-on: https://gerrit.libreoffice.org/5887 Reviewed-by: mhofmann <borim7@web.de> Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org> (cherry picked from commit 14e7a290dab7fead66ef6ff7f94c6a425d80ceb6) Conflicts: xmloff/source/draw/ximpstyl.cxx Change-Id: I567a791b2bbbcb3a1a111633fabf509142984645 Reviewed-on: https://gerrit.libreoffice.org/5929 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit 0964a73d03bf9f5b9f485ff39f97c7e7b54339b3) Reviewed-on: https://gerrit.libreoffice.org/5939 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'cppunit')
0 files changed, 0 insertions, 0 deletions