summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2021-12-21 21:24:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2021-12-21 21:34:37 +0100
commit078d5c433e029389aaaa261220715e9984540658 (patch)
tree4b97967d2776c612fefd1d13e88495843409a3c6 /svtools
parent870a4b7019119c0e23b25a7fd9638d50b622ffac (diff)
Fix typo and removed duplicated comment
Change-Id: Id8dd9ff12fe62f5225112eebc681bf840e69f7a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127280 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx4
1 files changed, 2 insertions, 2 deletions
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