summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-11 12:53:44 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-13 11:03:02 +0100
commitc4787618a1edb57c371215ce2b88eae3cc84f9f6 (patch)
tree7408b9a8af2759ebefe84eebe44dd48276c73b5e /svtools
parent457a744e27948a08cba387270fb835d785b1422c (diff)
svtools: make this condition readable
Change-Id: I3dfa3f5933010adb4c9277aac441a8c8a7c9c4b6
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index b575ecf362cb..540f5b0f2019 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1314,9 +1314,9 @@ nAction
EnableSelectionAsDropTarget();
#ifndef UNX
- if ((nAction == DND_ACTION_MOVE) && ((g_pDDTarget &&
- ((g_pDDTarget->GetModel()) != (this->GetModel()))) ||
- !g_pDDTarget))
+ if ( (nAction == DND_ACTION_MOVE)
+ && ( (g_pDDTarget && (g_pDDTarget->GetModel() != this->GetModel()))
+ || !g_pDDTarget))
{
RemoveSelection();
}