[Libreoffice-commits] core.git: sc/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Sat Sep 26 07:46:51 UTC 2020
sc/source/ui/pagedlg/scuitphfedit.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 10db96edd94d224abff36ac3381294e0f139c0a7
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Sep 25 11:19:16 2020 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sat Sep 26 09:46:11 2020 +0200
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 at yahoo.fr>
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);
}
More information about the Libreoffice-commits
mailing list