summaryrefslogtreecommitdiff
path: root/starmath/source
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 10:07:40 +0200
commitc4041a3b6c703254ee3977eef1a989992506772b (patch)
treef696f93baa565d865fd8a883da6d6e9d689e9eb2 /starmath/source
parent66cd438e3545edecaa05aa27beb289c6a6df53fc (diff)
weld SvxSwPosSizeTabPage
Change-Id: I51c83ec801884a07f7920309535a58b55171b0be Reviewed-on: https://gerrit.libreoffice.org/54934 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath/source')
-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;