m_xTreeBox is always true
commit9dcbee50b46ec389276fd0f0a71681a2638c0e1e
authorCaolán McNamara <caolanm@redhat.com>
Thu, 25 Nov 2021 20:16:14 +0000 (25 20:16 +0000)
committerCaolán McNamara <caolanm@redhat.com>
Fri, 26 Nov 2021 10:55:14 +0000 (26 11:55 +0100)
tree652132ae546dd8b2e04890ee010397f268fe57ce
parent61bbd8eb2e206f38e9ef2c3f982b6a9acd43b9e4
m_xTreeBox is always true

this has evolved from an optional m_pTreeBox widget to an always present
widget that's optionally visible and this case wasn't updated somewhere
along the line. Use "IsSafeForWaterCan" which the other cases of this
pattern were merged to

Change-Id: Ia20327ade5378bbdfa9fbfecbfa9705a33555f17
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125835
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
sfx2/source/dialog/StyleList.cxx