Resolves: fdo#34987 skip autoheight reset if it will be set to the same value
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.

Change-Id: I567a791b2bbbcb3a1a111633fabf509142984645
Reviewed-on: https://gerrit.libreoffice.org/5887
Reviewed-by: mhofmann <0c4d8ff2f352d21b289d1c4f10d019f96fc3b9bc@web.de>
Reviewed-by: Thorsten Behrens <820d075eff32ad6874a54cc9027003dbdb329a74@documentfoundation.org>
Tested-by: Thorsten Behrens <820d075eff32ad6874a54cc9027003dbdb329a74@documentfoundation.org>

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core