revert part of "add some error checking to the UI file loading"
revert part of
commit
cba5cd06c8ffd8628ae3d39efe715a5d8b3ac7e7
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Fri Jul 26 12:49:10 2019 +0200
add some error checking to the UI file loading
because some places eg. "writer format->bullets and numbering" expect a
silent return of nullptr for a missing button
Change-Id: I5cf8fa64d703636a65dc96987688c283016c87e8
Reviewed-on: https://gerrit.libreoffice.org/76522
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>