diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-25 17:17:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-04 10:11:07 +0200 |
commit | aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (patch) | |
tree | 5a36bcd5af873c2b597fcda5fbd7e2f76f997669 /forms/source/component | |
parent | 57c2de08ddf14c0da80de06736d99382ad036539 (diff) |
remove redundant calls to OUString constructor
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/ListBox.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 67b6f7c69ae9..696ff231ff64 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -787,15 +787,15 @@ namespace frm OUString aQuote = xMeta->getIdentifierQuoteString(); OUString aStatement("SELECT "); if (aBoundFieldName.isEmpty()) // act like a combobox - aStatement += OUString("DISTINCT "); + aStatement += "DISTINCT "; aStatement += quoteName(aQuote,aFieldName); if (!aBoundFieldName.isEmpty()) { - aStatement += OUString(", "); + aStatement += ", "; aStatement += quoteName(aQuote, aBoundFieldName); } - aStatement += OUString(" FROM "); + aStatement += " FROM "; OUString sCatalog, sSchema, sTable; qualifiedNameComponents( xMeta, sListSource, sCatalog, sSchema, sTable, eInDataManipulation ); |