summaryrefslogtreecommitdiffstats
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-21 20:44:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-22 12:37:39 +0200
commit335de1a2216523527f2a6a9aef4f5997f775e648 (patch)
tree5e6465d90ab11c003e5111d52e093b0281280f0c /connectivity
parentsimplify some string manipulation (diff)
downloadcore-335de1a2216523527f2a6a9aef4f5997f775e648.tar.gz
core-335de1a2216523527f2a6a9aef4f5997f775e648.zip
no need makeStringAndClear() when appending to buffer
it just creates an unnecessary temporary Change-Id: Ide3cd99b2ac4f2a621e5d55ce4bdc95d05430709 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114467 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/parse/sqlnode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx
index 387cc54d92b2..c4c28dc4a822 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -505,7 +505,7 @@ void OSQLParseNode::impl_parseNodeToString_throw(OUStringBuffer& rString, const
else
i++;
}
- rString.append(aStringPara.makeStringAndClear());
+ rString.append(aStringPara);
}
bHandled = true;
break;