libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 51ca3c42adfa565b7658cf543ec9c27c5c349242
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Nov 22 11:43:32 2024 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Nov 22 13:09:16 2024 +0100

    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 <xiscofa...@libreoffice.org>

diff --git a/libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx 
b/libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx
index c998eeeccb2b..05de7afc6335 100644
--- a/libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtv-signal-handlers.cxx
@@ -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);
 }
 

Reply via email to