tdf#146988 Opening at cursor position doesn't work in large documents
regression from
commit 07021596ac
(HEAD)
Date: Sat Jun 12 18:57:51 2021 +0200
tdf#142242 Forename imported with trailing space
Change-Id: I792fbe5955de464f41ac61c85f1ca651121b4a99
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135372
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
08850dbead
commit
a3d4f7e8fb
1 changed files with 3 additions and 3 deletions
|
@ -221,7 +221,7 @@ OUString SvtUserOptions::Impl::GetFullName () const
|
|||
sFullName += o3tl::trim(GetToken(UserOptToken::FathersName));
|
||||
if (!sFullName.isEmpty())
|
||||
sFullName += " ";
|
||||
sFullName += GetToken(UserOptToken::LastName);
|
||||
sFullName += o3tl::trim(GetToken(UserOptToken::LastName));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -230,14 +230,14 @@ OUString SvtUserOptions::Impl::GetFullName () const
|
|||
sFullName = GetToken(UserOptToken::LastName).trim();
|
||||
if (!sFullName.isEmpty())
|
||||
sFullName += " ";
|
||||
sFullName += GetToken(UserOptToken::FirstName);
|
||||
sFullName += o3tl::trim(GetToken(UserOptToken::FirstName));
|
||||
}
|
||||
else
|
||||
{
|
||||
sFullName = GetToken(UserOptToken::FirstName).trim();
|
||||
if (!sFullName.isEmpty())
|
||||
sFullName += " ";
|
||||
sFullName += GetToken(UserOptToken::LastName);
|
||||
sFullName += o3tl::trim(GetToken(UserOptToken::LastName));
|
||||
}
|
||||
}
|
||||
sFullName = sFullName.trim();
|
||||
|
|
Loading…
Reference in a new issue