summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk3/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 15:09:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 16:48:15 +0000
commit363512d39ba1543b7e91af1d59dadb5378da7649 (patch)
tree958736abb5e772ea3d516465adfd51ce340853f9 /vcl/unx/gtk3/fpicker
parentc0f69aa125081c31ca2b79e9e29e13bc91a21be7 (diff)
clang-tidy dead-store
Change-Id: I842114880c43dfcc342b6255b7d17befb905bccb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148345 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/gtk3/fpicker')
-rw-r--r--vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
index 9afb55f0eb21..36278074c446 100644
--- a/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx
@@ -1677,7 +1677,7 @@ void SalGtkFilePicker::impl_initialize(GtkWidget* pParentWidget, sal_Int16 templ
GtkFileChooserAction eAction = GTK_FILE_CHOOSER_ACTION_OPEN;
OString sOpen = getOpenText();
OString sSave = getSaveText();
- const gchar *first_button_text = sOpen.getStr();
+ const gchar *first_button_text;
SolarMutexGuard g;