diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-09 17:25:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-09 17:25:18 +0100 |
commit | ab5d730b2a4276d261c1ef11f94b16d0936acf5c (patch) | |
tree | 9d09cd6543ad9c33e08628b57ea547f66d7104b7 /libreofficekit | |
parent | ae94fc5b28105c920b2e9d336f463b27cae5b0e1 (diff) |
loplugin:nullptr
Change-Id: Id249baebf047bae083e36ad6e23d5bb8989f9a98
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index ce21d6e784b7..3bf4d44c2835 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -2386,7 +2386,7 @@ static void lok_doc_view_class_init (LOKDocViewClass* pClass) SAL_DLLPUBLIC_EXPORT GtkWidget* lok_doc_view_new (const gchar* pPath, GCancellable *cancellable, GError **error) { - return GTK_WIDGET (g_initable_new (LOK_TYPE_DOC_VIEW, cancellable, error, "lopath", pPath == NULL ? LOK_PATH : pPath, NULL)); + return GTK_WIDGET (g_initable_new (LOK_TYPE_DOC_VIEW, cancellable, error, "lopath", pPath == nullptr ? LOK_PATH : pPath, NULL)); } SAL_DLLPUBLIC_EXPORT GtkWidget* lok_doc_view_new_from_widget(LOKDocView* pOldLOKDocView) |