summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-28 14:33:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-29 15:37:33 +0200
commitf78dbaad37f7b0ec08686a6aa31984ad11c631aa (patch)
tree6c8708fcc0245bbeeebe81ce1b9fe341a37ce5be /starmath
parent2963892215398615fb459eb108b8cb52a4776c2e (diff)
weld SvxSwPosSizeTabPage
Change-Id: I51c83ec801884a07f7920309535a58b55171b0be Reviewed-on: https://gerrit.libreoffice.org/54979 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/dialog.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 286cb66d6846..ac7269345c0c 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -635,13 +635,13 @@ IMPL_LINK( SmDistanceDialog, GetFocusHdl, weld::Widget&, rControl, void )
{
sal_uInt16 i;
- if (&rControl == m_xMetricField1->get_widget())
+ if (&rControl == &m_xMetricField1->get_widget())
i = 0;
- else if (&rControl == m_xMetricField2->get_widget())
+ else if (&rControl == &m_xMetricField2->get_widget())
i = 1;
- else if (&rControl == m_xMetricField3->get_widget())
+ else if (&rControl == &m_xMetricField3->get_widget())
i = 2;
- else if (&rControl == m_xMetricField4->get_widget())
+ else if (&rControl == &m_xMetricField4->get_widget())
i = 3;
else
return;