summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-04-29 15:16:37 +0200
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-05-02 07:59:14 +0200
commit73414e3fe8d8cede2c4bc3bc605618873db003c4 (patch)
treea9c615dcbc96831e047dc184244f6b82e5836d16 /svtools
parent9ff3ea9e38e9ae084cb9c1c670eb5ea657c834eb (diff)
Fix typos
Change-Id: I56bd1a7ac204f4302261e46d0b8c5dd62c4b6df9 Reviewed-on: https://gerrit.libreoffice.org/53624 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/fmtfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 20770f95569b..d966e0850136 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -484,7 +484,7 @@ void FormattedField::ImplSetTextImpl(const OUString& rNew, Selection const * pNe
sal_Int32 nCurrentLen = GetText().getLength();
if ((nNewLen > nCurrentLen) && (aSel.Max() == nCurrentLen))
- { // new new text is longer and the cursor is behind the last char
+ { // new text is longer and the cursor is behind the last char
if (aSel.Min() == 0)
{ // the whole text was selected -> select the new text on the whole, too
aSel.Max() = nNewLen;