diff options
Diffstat (limited to 'unotools/source/config/useroptions.cxx')
-rw-r--r-- | unotools/source/config/useroptions.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index 61273bfbe9fb..fb8b24d9f05c 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -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(); |