loplugin:nullptr
Change-Id: Id249baebf047bae083e36ad6e23d5bb8989f9a98
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user