summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-29 09:51:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-29 14:31:37 +0200
commit7d53d5899bc798b49c99d36e4611204c05585915 (patch)
treece4ce49a1609c1923370ba925c02c563f5442bc8 /vcl
parentdf5d1e47c33a8b9bf2b9783d5338f8432827a760 (diff)
gtk_tree_model_iter_parent modifies the 1st arg, not 2nd
Change-Id: I015022c4dd68f152ef5e56947031ccf4bfaf2b1c Reviewed-on: https://gerrit.libreoffice.org/71516 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index e2024dd6a2c6..1893335fa645 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -7000,7 +7000,6 @@ public:
}
if (!gtk_tree_model_iter_parent(pModel, &tmp, &iter))
return false;
- tmp = iter;
if (gtk_tree_model_iter_next(pModel, &tmp))
{
rGtkIter.iter = tmp;