summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-09-25 11:19:16 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-09-26 09:46:11 +0200
commit10db96edd94d224abff36ac3381294e0f139c0a7 (patch)
tree629dfd42068624d5717ebf3aae76d50307849ada /sc/source/ui/pagedlg
parent02caeb507cb9e0d7ea6f6f789498d7a438ced4a2 (diff)
Fix typo in code
It passed "make check" on Linux Change-Id: Ic594ef08dbb389c5718202e1ec3408e18bf49b94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103423 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 06e3b0406f9e..6567f06b239c 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -715,8 +715,8 @@ IMPL_LINK_NOARG(ScHFEditPage, ListHdl_Impl, weld::ComboBox&, void)
sal_Int64 nNow = sal_Int64(aNow.Seconds) * 1000000000L + aNow.Nanosec;
// order of dropdown vs select not guaranteed
- bool bDiscrepency = m_xLbDefined->get_popup_shown() != m_bDropDownActive;
- if (bDiscrepency)
+ bool bDiscrepancy = m_xLbDefined->get_popup_shown() != m_bDropDownActive;
+ if (bDiscrepancy)
ListToggleHdl_Impl(*m_xLbDefined);
bool bFocusToTarget = !m_xLbDefined->get_popup_shown() && m_nTimeToggled != -1 && (nNow - m_nTimeToggled < 800000000L);
@@ -726,7 +726,7 @@ IMPL_LINK_NOARG(ScHFEditPage, ListHdl_Impl, weld::ComboBox&, void)
RemoveFromDefinedList();
// keep balanced
- if (bDiscrepency)
+ if (bDiscrepancy)
ListToggleHdl_Impl(*m_xLbDefined);
}