PVS: V547 Expression 'aUnoArgs.empty()' is always false
Change-Id: I9283b59499fe7739f06d926357218ef7eb916a41 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176997 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
parent
17e7743d5f
commit
51ca3c42ad
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ void recentUnoChanged( GtkWidget* pSelector, gpointer /* pItem */ )
|
|||
if (aUnoArgs.empty())
|
||||
return;
|
||||
|
||||
lok_doc_view_post_command(LOK_DOC_VIEW(pWindow->lokdocview), pUnoCmd, (aUnoArgs.empty() ? nullptr : aUnoArgs.c_str()), false);
|
||||
lok_doc_view_post_command(LOK_DOC_VIEW(pWindow->lokdocview), pUnoCmd, aUnoArgs.c_str(), false);
|
||||
g_free(pUnoCmd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue