summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-10-08 09:23:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-10-08 09:23:12 +0200
commit1aae63b62b8a745ba3345d73e59107c63f904c02 (patch)
tree87807c8a6ede0c434604aed2cefe4d3781af8184
parent788716cebad012513cc2798589b817b86cbf1bbc (diff)
loplugin:external (--enable-gtk3-kde5)
Change-Id: Id096bd25cd6df5941eaec45f7573f5887ae51d79
-rw-r--r--vcl/unx/gtk3_kde5/gtk3_kde5_filepicker_ipc.cxx4
-rw-r--r--vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx4
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<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())
{