diff options
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx index e6a8d8218fc8..8f804f0e6060 100644 --- a/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx +++ b/libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx @@ -208,6 +208,8 @@ int main( int argc, char* argv[] ) } pOffice = lok_init( argv[1] ); + if ( pOffice == NULL ) + return 1; gtk_init( &argc, &argv ); |