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 | |
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')
-rw-r--r-- | forms/source/component/ListBox.cxx | 6 | ||||
-rw-r--r-- | forms/source/runtime/formoperations.cxx | 2 |
2 files changed, 4 insertions, 4 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 ); diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index e1b8acbe1cba..c8109ed06c6f 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -395,7 +395,7 @@ namespace frm OUString sValue = OUString::number( nCount ); if ( !bFinalCount ) - sValue += OUString(" *"); + sValue += " *"; aState.State <<= sValue; aState.Enabled = sal_True; |