diff options
author | Shubham Verma <lifemeansmore008@gmail.com> | 2018-02-17 16:52:15 +0530 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2018-02-22 13:57:00 +0100 |
commit | 0c371a6b5e6c6251d782c7a8ecbe0ab32c7812ac (patch) | |
tree | cfb35aac864b26aa32c17b019451ea95f4f93c61 /sw | |
parent | e313f0f959dfe0977366a8342ba43dbea6703adb (diff) |
tdf#112689 : Replace chained O(U)StringBuffer::append() with operator+
Change-Id: I119d33b171da7024daab5c4ca4488ceb495eab2f
Reviewed-on: https://gerrit.libreoffice.org/49898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/config/mailconfigpage.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/config/mailconfigpage.cxx b/sw/source/ui/config/mailconfigpage.cxx index 3e5b043812a4..c7509d5f9d71 100644 --- a/sw/source/ui/config/mailconfigpage.cxx +++ b/sw/source/ui/config/mailconfigpage.cxx @@ -383,10 +383,10 @@ void SwTestAccountSettingsDialog::Test() if (!bIsServer || !bIsLoggedIn) { - OUStringBuffer aErrorMessage(m_sErrorServer); + OUString aErrorMessage(m_sErrorServer); if (!sException.isEmpty()) - aErrorMessage.append("\n--\n").append(sException); - m_pErrorsED->SetText(aErrorMessage.makeStringAndClear()); + aErrorMessage += "\n--\n" + sException; + m_pErrorsED->SetText(aErrorMessage); } } |