diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-17 15:14:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-17 18:16:28 +0200 |
commit | 3ebbb150242cf049a9ddab7f498c63f3a44aa034 (patch) | |
tree | 3bdf235f490b173919369e7062570322effa795d /dbaccess/source | |
parent | 73df133143daaff14c364468598bb250db6aecb1 (diff) |
loplugin:buffereadd find stuff involving adding *StringBuffer
and create conversion methods on *StringBuffer to make this work
Change-Id: I3cf5ee3e139826168894b46eff8ee4bcde00cb7e
Reviewed-on: https://gerrit.libreoffice.org/80949
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/core/recovery/settingsimport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/core/recovery/settingsimport.cxx b/dbaccess/source/core/recovery/settingsimport.cxx index 1c46b8b0717a..b64787aa82a4 100644 --- a/dbaccess/source/core/recovery/settingsimport.cxx +++ b/dbaccess/source/core/recovery/settingsimport.cxx @@ -139,8 +139,7 @@ namespace dbaccess o_rValue.clear(); // the characters building up th evalue - OUStringBuffer aCharacters( getAccumulatedCharacters() ); - const OUString sValue = aCharacters.makeStringAndClear(); + const OUString sValue = getAccumulatedCharacters().toString(); const OUString& rItemType( getItemType() ); ENSURE_OR_RETURN_VOID( !rItemType.isEmpty(), "no item type -> no item value" ); |