[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - libreofficekit/qa

Tamás Zolnai tamas.zolnai at collabora.com
Thu Nov 16 10:20:51 UTC 2017


 libreofficekit/qa/gtktiledviewer/gtv-application.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7dcc0a3333debe3d86e03931a3329daf64cf5023
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Fri Sep 22 15:36:21 2017 +0200

    Fix gtktiledviewer crash: this should be a null terminated list
    
    Change-Id: I06e0923980b98b37b06ab45d8db68424b01d4f71
    Reviewed-on: https://gerrit.libreoffice.org/42645
    Reviewed-by: pranavk <pranavk at collabora.co.uk>
    Tested-by: pranavk <pranavk at collabora.co.uk>

diff --git a/libreofficekit/qa/gtktiledviewer/gtv-application.cxx b/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
index b98cb88af7f2..0acdbc8392e4 100644
--- a/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
@@ -50,7 +50,8 @@ gtv_application_init(GtvApplication* app)
         { "enable-tiled-annotations", 0, 0, G_OPTION_ARG_NONE, nullptr, "Whether tiled annotations should be enabled", nullptr },
         { "background-color", 0, 0, G_OPTION_ARG_STRING, nullptr, "Background color", nullptr },
         { "hide-page-shadow", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide page shadow", nullptr },
-        { "hide-whitespace", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide whitespace", nullptr }
+        { "hide-whitespace", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide whitespace", nullptr },
+        { nullptr, 0, 0, G_OPTION_ARG_NONE, nullptr, nullptr, nullptr },
     };
 
     g_application_add_main_option_entries(G_APPLICATION(app), commandLineOptions);


More information about the Libreoffice-commits mailing list