tdf#73059 isDBReadOnly ensure connection before trying to retrieve it
tdf#73059 isDBReadOnly ensure connection before trying to retrieve it

Change-Id: I03f9b8ea72bd6906df61ccf05ead3670d7f90eb7
Reviewed-on: https://gerrit.libreoffice.org/14175
Reviewed-by: Lionel Elie Mamane <5befb0748e190886505727a102475cc24fbaa116@mamane.lu>
Tested-by: Lionel Elie Mamane <5befb0748e190886505727a102475cc24fbaa116@mamane.lu>

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