summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-19 14:16:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-19 14:18:10 +0100
commit5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch)
treef891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /dbaccess/source/ui/querydesign
parent2633b249ea6921645c57ab24a1c9ad0c8e61e144 (diff)
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx18
1 files changed, 8 insertions, 10 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index b1b91f6beae1..b9c5279f497e 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -374,9 +374,9 @@ namespace
OUString aQuote = xMetaData->getIdentifierQuoteString();
if ( _bForce || isAppendTableAliasEnabled( _xConnection ) || pEntryTab->GetAliasName() != aDBName )
{
- aTableListStr += OUString(" ");
+ aTableListStr += " ";
if ( generateAsBeforeTableAlias( _xConnection ) )
- aTableListStr += OUString("AS ");
+ aTableListStr += "AS ";
aTableListStr += ::dbtools::quoteName( aQuote, pEntryTab->GetAliasName() );
}
aDBName = aTableListStr;
@@ -864,9 +864,7 @@ namespace
}
else
{
- aWhereStr += aWork;
- aWhereStr += OUString("=");
- aWhereStr += aCriteria;
+ aWhereStr += aWork + "=" + aCriteria;
}
}
}
@@ -1107,17 +1105,17 @@ namespace
{
// create outer join
if ( bUseEscape )
- aStr += OUString("{ OJ ");
+ aStr += "{ OJ ";
aStr += aJoin;
if ( bUseEscape )
- aStr += OUString(" }");
+ aStr += " }";
}
break;
default:
aStr += aJoin;
break;
}
- aStr += OUString(",");
+ aStr += ",";
aTableListStr += aStr;
}
}
@@ -3108,8 +3106,8 @@ OSQLParseNode* OQueryDesignView::getPredicateTreeFromEntry(OTableFieldDescRef pE
{
// first try the international version
OUString sSql;
- sSql += OUString("SELECT * ");
- sSql += OUString(" FROM x WHERE ");
+ sSql += "SELECT * ";
+ sSql += " FROM x WHERE ";
sSql += pEntry->GetField();
sSql += _sCriteria;
SAL_WNODEPRECATED_DECLARATIONS_PUSH