summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridcell.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-28 20:25:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-29 06:44:46 +0000
commita15329d53f20bf913fe63c05fc7c53e17bd68e97 (patch)
tree8d8677f993fec58e0390fbe98b050085ea348492 /svx/source/fmcomp/gridcell.cxx
parent5482a582db942fcb02aec57a904ab16d496006f2 (diff)
loplugin:stringadd in svx
when applying my upcoming patch to also consider O[U]StringBuffer Change-Id: I043885ed3120ff6f4262f339c69f15e2b2d4a85c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149653 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r--svx/source/fmcomp/gridcell.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index debea567ada5..2bf339a19135 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -3092,12 +3092,12 @@ void DbFilterField::Update()
Reference< XDatabaseMetaData > xMeta = xConnection->getMetaData();
OUString aQuote(xMeta->getIdentifierQuoteString());
- OUStringBuffer aStatement("SELECT DISTINCT ");
- aStatement.append(quoteName(aQuote, aName));
+ OUStringBuffer aStatement("SELECT DISTINCT "
+ + quoteName(aQuote, aName));
if (!aFieldName.isEmpty() && aName != aFieldName)
{
- aStatement.append(" AS ");
- aStatement.append(quoteName(aQuote, aFieldName));
+ aStatement.append(" AS "
+ + quoteName(aQuote, aFieldName));
}
aStatement.append(" FROM ");