summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/TColumnsHelper.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-11-14 09:03:23 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-14 09:03:23 +0100
commita88f3005a817584e64f13fd996b3a90cda992115 (patch)
treeac09b6cee93e87a508f07d3c462956c929c98950 /connectivity/source/commontools/TColumnsHelper.cxx
parent4a4ae0212c0b07cbd3a77f3d362f83c987a0cf41 (diff)
RTL_CONSTASCII_USTRINGPARAM for libs-core/connectivity
Diffstat (limited to 'connectivity/source/commontools/TColumnsHelper.cxx')
-rw-r--r--connectivity/source/commontools/TColumnsHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/commontools/TColumnsHelper.cxx b/connectivity/source/commontools/TColumnsHelper.cxx
index f1223b64c5..20e6c6b2ac 100644
--- a/connectivity/source/commontools/TColumnsHelper.cxx
+++ b/connectivity/source/commontools/TColumnsHelper.cxx
@@ -186,7 +186,7 @@ sdbcx::ObjectType OColumnsHelper::appendObject( const ::rtl::OUString& _rForName
::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString( );
aSql += ::dbtools::composeTableName( xMetaData, m_pTable, ::dbtools::eInTableDefinitions, false, false, true );
- aSql += ::rtl::OUString::createFromAscii(" ADD ");
+ aSql += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ADD "));
aSql += ::dbtools::createStandardColumnPart(descriptor,m_pTable->getConnection(),NULL,m_pTable->getTypeCreatePattern());
Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( );
@@ -209,7 +209,7 @@ void OColumnsHelper::dropObject(sal_Int32 /*_nPos*/,const ::rtl::OUString _sElem
::rtl::OUString aQuote = xMetaData->getIdentifierQuoteString( );
aSql += ::dbtools::composeTableName( xMetaData, m_pTable, ::dbtools::eInTableDefinitions, false, false, true );
- aSql += ::rtl::OUString::createFromAscii(" DROP ");
+ aSql += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" DROP "));
aSql += ::dbtools::quoteName( aQuote,_sElementName);
Reference< XStatement > xStmt = m_pTable->getConnection()->createStatement( );