summaryrefslogtreecommitdiff
path: root/uui/source
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source')
-rw-r--r--uui/source/iahndl-authentication.cxx3
-rw-r--r--uui/source/secmacrowarnings.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/uui/source/iahndl-authentication.cxx b/uui/source/iahndl-authentication.cxx
index ed8150997a30..8a2ae199c2fd 100644
--- a/uui/source/iahndl-authentication.cxx
+++ b/uui/source/iahndl-authentication.cxx
@@ -438,8 +438,7 @@ executeMasterPasswordDialog(
for (sal_uInt8 i : aKey)
{
// match PasswordContainer::DecodePasswords aMasterPasswd.copy(index * 2, 2).toUInt32(16));
- aBuffer.append(OUString::number(i >> 4, 16));
- aBuffer.append(OUString::number(i & 15, 16));
+ aBuffer.append(OUString::number(i >> 4, 16) + OUString::number(i & 15, 16));
}
rInfo.SetPassword(aBuffer.makeStringAndClear());
}
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 31281c2f5236..9b81f6d9cb22 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -182,8 +182,8 @@ void MacroWarning::SetStorage( const css::uno::Reference < css::embed::XStorage
for( sal_Int32 i = 1 ; i < nCnt ; ++i )
{
- s.append("\n");
- s.append(GetContentPart( rInfos[ i ].Signer->getSubjectName(), aCN_Id ));
+ s.append(OUString::Concat("\n")
+ + GetContentPart( rInfos[ i ].Signer->getSubjectName(), aCN_Id ));
}
mxSignsFI->set_label(s.makeStringAndClear());