summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 15:24:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-07 06:58:51 +0000
commit0b92356a6c1844aef9ed49927fa4da310ee5bb2e (patch)
treec862455573daa185accba417a02a8e11649220cf /vcl/unx
parent20ab6da2ce6ed5728683b6cfc1dbe11a2f676ae0 (diff)
clang-tidy dead-store
Change-Id: Id7c48e995b4f92f081fbd4d1af257e1b81e6a421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148347 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk3/salnativewidgets-gtk.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/salnativewidgets-gtk.cxx b/vcl/unx/gtk3/salnativewidgets-gtk.cxx
index f55b45a8b92b..b5efe1b59ddc 100644
--- a/vcl/unx/gtk3/salnativewidgets-gtk.cxx
+++ b/vcl/unx/gtk3/salnativewidgets-gtk.cxx
@@ -782,7 +782,6 @@ void GtkSalGraphics::PaintOneSpinButton( GtkStyleContext *context,
tools::Rectangle buttonRect = NWGetSpinButtonRect( nPart, aAreaRect );
gtk_style_context_set_state(context, stateFlags);
- stateFlags = gtk_style_context_get_state(context);
style_context_get_padding(context, &padding);
style_context_get_border(context, &border);