Commit cc19ed47 authored by Cosimo Cecchi's avatar Cosimo Cecchi

lokview: be robust to LibreOfficeKit not being available

When LibreOfficeKit is not available, we still create a LOKView

We then need to check whether the internal LOKDocView exists before
calling a method on it, or we will trigger an exception that will
prevent the regular error page from kicking in.

Fixes #37
parent 14138c89
Pipeline #110791 passed with stage
in 13 minutes and 58 seconds