From 28580110807a38e3ba6f8385f22871b8dfe0a910 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 31 Jul 2018 13:13:36 +0200 Subject: add operator+=(OUStringBuffer) method to OUString to reduce needless object creation and copying some more And fix what looks like a bug in CSS hex color parsing at line 609 in sw/../parcss1.cxx that has been there since commit 7b0b5cdfeed656b279bc32cd929630d5fc25878b "initial import" Change-Id: Ibad42b23721a56493bd1edcd7165e6104494a5c3 Reviewed-on: https://gerrit.libreoffice.org/58357 Tested-by: Jenkins Reviewed-by: Noel Grandin --- dbaccess/source/core/api/SingleSelectQueryComposer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index 06a4dcfc4285..9a8eea35ed10 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -1730,7 +1730,7 @@ void OSingleSelectQueryComposer::setConditionByColumn( const Reference< XPropert sTemp += andCriteria ? OUString(STR_AND) : OUString(STR_OR); sFilter = sTemp; } - sFilter += aSQL.makeStringAndClear(); + sFilter += aSQL; // add the filter and the sort order _aSetFunctor(this,sFilter); -- cgit