From 1aae63b62b8a745ba3345d73e59107c63f904c02 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Oct 2018 09:23:12 +0200 Subject: loplugin:external (--enable-gtk3-kde5) Change-Id: Id096bd25cd6df5941eaec45f7573f5887ae51d79 --- 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(-) 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& args) +static void readCommandArgs(Commands command, QList& args) { switch (command) { @@ -179,7 +179,7 @@ void readCommandArgs(Commands command, QList& args) }; } -void readCommands(FilePickerIpc* ipc) +static void readCommands(FilePickerIpc* ipc) { while (!std::cin.eof()) { -- cgit