svtools/source/control/valueset.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 078d5c433e029389aaaa261220715e9984540658 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Tue Dec 21 21:24:20 2021 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Dec 21 21:34:37 2021 +0100 Fix typo and removed duplicated comment Change-Id: Id8dd9ff12fe62f5225112eebc681bf840e69f7a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127280 Tested-by: Julien Nabet <serval2...@yahoo.fr> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index b3bd235ef249..e3551b77fdd4 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -767,9 +767,9 @@ void ValueSet::SelectItem( sal_uInt16 nItemId ) if (weld::DrawingArea* pNeedsFormatToScroll = !mnCols ? GetDrawingArea() : nullptr) { Format(pNeedsFormatToScroll->get_ref_device()); - // reset scrollbar so its set to the later calculated mnFirstLine on + // reset scrollbar so it's set to the later calculated mnFirstLine on // the next Format - RecalcScrollBar(); // reset scrollbar so its set to the later calculated + RecalcScrollBar(); } // if necessary scroll to the visible area