summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridcell.cxx
diff options
context:
space:
mode:
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 ");