[Libreoffice-commits] core.git: vcl/unx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 8 07:23:42 UTC 2018


 vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx |    4 ++--
 vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx      |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1aae63b62b8a745ba3345d73e59107c63f904c02
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Oct 8 09:23:12 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Oct 8 09:23:12 2018 +0200

    loplugin:external (--enable-gtk3-kde5)
    
    Change-Id: Id096bd25cd6df5941eaec45f7573f5887ae51d79

diff --git a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx
index 36ddcaf40f6e..3bf5ddcd29bc 100644
--- a/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx
+++ b/vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx
@@ -107,8 +107,8 @@ OUString getResString(const char* pResId)
 }
 
 // handles the IPC commands for dialog execution and ends the dummy Gtk dialog once the IPC response is there
-void handleIpcForExecute(Gtk3KDE5FilePickerIpc* pFilePickerIpc, GtkWidget* pDummyDialog,
-                         bool* bResult)
+static void handleIpcForExecute(Gtk3KDE5FilePickerIpc* pFilePickerIpc, GtkWidget* pDummyDialog,
+                                bool* bResult)
 {
     auto id = pFilePickerIpc->sendCommand(Commands::Execute);
     pFilePickerIpc->readResponse(id, *bResult);
diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
index 12233efda281..550e1d8bb2d4 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
@@ -52,7 +52,7 @@ static void sendIpcArg(std::ostream& stream, const QStringList& list)
     }
 }
 
-void readCommandArgs(Commands command, QList<QVariant>& args)
+static void readCommandArgs(Commands command, QList<QVariant>& args)
 {
     switch (command)
     {
@@ -179,7 +179,7 @@ void readCommandArgs(Commands command, QList<QVariant>& args)
     };
 }
 
-void readCommands(FilePickerIpc* ipc)
+static void readCommands(FilePickerIpc* ipc)
 {
     while (!std::cin.eof())
     {


More information about the Libreoffice-commits mailing list