diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:35:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:35:06 +0100 |
commit | 03b0fd3e5f8292d63db7d8db1032c1ecc369965c (patch) | |
tree | 726aac8b459e57a2c035ad3c7623ba7f2099d430 /connectivity/source/parse/sqliterator.cxx | |
parent | 7cf6736df809f7e74815a60152c23a448c27a1fa (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: Ia3b2020e3f58e23e87a95d1fee0c76c8aba705ea
Diffstat (limited to 'connectivity/source/parse/sqliterator.cxx')
-rw-r--r-- | connectivity/source/parse/sqliterator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index e7faecfc987a..7dd6919baa72 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -936,7 +936,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele if (pSelectNode->getChild(2)->isRule() && SQL_ISPUNCTUATION(pSelectNode->getChild(2)->getChild(0),"*")) { // SELECT * ... - setSelectColumnName(m_aSelectColumns,OUString("*"), aEmptyString,aEmptyString); + setSelectColumnName(m_aSelectColumns,"*", aEmptyString,aEmptyString); } else if (SQL_ISRULE(pSelectNode->getChild(2),scalar_exp_commalist)) { @@ -956,7 +956,7 @@ bool OSQLParseTreeIterator::traverseSelectColumnNames(const OSQLParseNode* pSele // All the table's columns OUString aTableRange; pColumnRef->getChild(0)->parseNodeToStr( aTableRange, m_pImpl->m_xConnection, NULL, false, false ); - setSelectColumnName(m_aSelectColumns,OUString("*"), aEmptyString,aTableRange); + setSelectColumnName(m_aSelectColumns,"*", aEmptyString,aTableRange); continue; } else if (SQL_ISRULE(pColumnRef,derived_column)) |