diff options
Diffstat (limited to 'connectivity/source/drivers/mozab/MResultSet.cxx')
-rw-r--r-- | connectivity/source/drivers/mozab/MResultSet.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/connectivity/source/drivers/mozab/MResultSet.cxx b/connectivity/source/drivers/mozab/MResultSet.cxx index fbf0b8538e3b..13ce879b32c2 100644 --- a/connectivity/source/drivers/mozab/MResultSet.cxx +++ b/connectivity/source/drivers/mozab/MResultSet.cxx @@ -70,8 +70,8 @@ OUString SAL_CALL OResultSet::getImplementationName( ) throw ( RuntimeException Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames( ) throw( RuntimeException) { ::com::sun::star::uno::Sequence< OUString > aSupported(2); - aSupported[0] = OUString("com.sun.star.sdbc.ResultSet"); - aSupported[1] = OUString("com.sun.star.sdbcx.ResultSet"); + aSupported[0] = "com.sun.star.sdbc.ResultSet"; + aSupported[1] = "com.sun.star.sdbcx.ResultSet"; return aSupported; } @@ -716,11 +716,11 @@ void OResultSet::parseParameter( const OSQLParseNode* pNode, OUString& rMatchStr OSQLParseNode *pMark = pNode->getChild(0); // Initialize to empty string - rMatchString = OUString(""); + rMatchString = ""; OUString aParameterName; if (SQL_ISPUNCTUATION(pMark,"?")) { - aParameterName = OUString("?"); + aParameterName = "?"; } else if (SQL_ISPUNCTUATION(pMark,":")) { aParameterName = pNode->getChild(1)->getTokenValue(); @@ -922,7 +922,7 @@ void OResultSet::analyseWhereClause( const OSQLParseNode* parseT // String containing only a '%' and nothing else op = MQueryOp::Exists; // Will be ignored for Exists case, but clear anyway. - matchString = OUString(""); + matchString = ""; } else if ( matchString.indexOf ( WILDCARD ) == -1 && matchString.indexOf ( MATCHCHAR ) == -1 ) @@ -1088,9 +1088,9 @@ void OResultSet::fillRowData() OSL_ENSURE(m_pStatement, "Cannot determine Parent Statement"); OUString aStr; if (xConnection->isLDAP()) - aStr = OUString("PrimaryEmail"); + aStr = "PrimaryEmail"; else - aStr = OUString("card:nsIAbCard"); + aStr = "card:nsIAbCard"; eVector.push_back( new MQueryExpressionString(aStr, MQueryOp::Exists) ); queryExpression.setExpressions( eVector ); @@ -1370,7 +1370,7 @@ void OResultSet::setBoundedColumns(const OValueRow& _rRow, if (xTableColumn.is()) xTableColumn->getPropertyValue(sName) >>= sTableColumnName; else - sTableColumnName = OUString(); + sTableColumnName = ""; // look if we have such a select column // TODO: would like to have a O(log n) search here ... |