summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2023-03-16 09:11:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2023-03-16 11:37:57 +0000
commit89657b5309a276f6be59d74651a94132590be028 (patch)
tree663e2ee1af098b8bd636c5f2f733377ef62b6efa /dbaccess/source
parentf7475f4e14f43ba13078abef6b676be27af43e14 (diff)
Resolves: tdf#153908 scrolling relationships moves the wrong direction
Change-Id: Ic49e0c167a020269fa7de58ea9e1ece0b66d57ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148950 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 2068e2a48ff2..e816dfa9e585 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -197,13 +197,13 @@ void OJoinTableView::dispose()
IMPL_LINK(OJoinTableView, HorzScrollHdl, weld::Scrollbar&, rScrollbar, void)
{
// move all windows
- ScrollPane(m_aScrollOffset.X() - rScrollbar.adjustment_get_value(), true, false);
+ ScrollPane(rScrollbar.adjustment_get_value() - m_aScrollOffset.X(), true, false);
}
IMPL_LINK(OJoinTableView, VertScrollHdl, weld::Scrollbar&, rScrollbar, void)
{
// move all windows
- ScrollPane(m_aScrollOffset.Y() - rScrollbar.adjustment_get_value(), false, false);
+ ScrollPane(rScrollbar.adjustment_get_value() - m_aScrollOffset.Y(), false, false);
}
void OJoinTableView::Resize()