diff options
Diffstat (limited to 'sw/source/core/unocore/unoidx.cxx')
-rw-r--r-- | sw/source/core/unocore/unoidx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx index 0dad7574ecb8..d3929088baad 100644 --- a/sw/source/core/unocore/unoidx.cxx +++ b/sw/source/core/unocore/unoidx.cxx @@ -160,11 +160,11 @@ static void lcl_ConvertTOUNameToUserName(OUString& rTmp) { ShellResource* pShellRes = ViewShell::GetShellRes(); - if(rTmp.equalsAscii(cUserDefined)) + if (rTmp.equalsAscii(cUserDefined)) { rTmp = pShellRes->aTOXUserName; } - else if(!pShellRes->aTOXUserName.EqualsAscii(cUserDefined) && + else if (!pShellRes->aTOXUserName.equalsAscii(cUserDefined) && USER_AND_SUFFIXLEN == rTmp.getLength()) { //make sure that in non-English versions the " (user)" suffix is removed |