summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysql/YTables.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-09 14:55:22 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-10 08:19:12 +0100
commit601bfe023f5aeb9b10f4c17d50d18f9b7455f229 (patch)
tree22fa377c3b0de213eda4d616600749c5e1ccad31 /connectivity/source/drivers/mysql/YTables.cxx
parente30c45f22519a413f6fb08adb5307b2b610e5c28 (diff)
EasyHack: Convert to RTL macro from FromAscii
Diffstat (limited to 'connectivity/source/drivers/mysql/YTables.cxx')
-rw-r--r--connectivity/source/drivers/mysql/YTables.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysql/YTables.cxx b/connectivity/source/drivers/mysql/YTables.cxx
index 7248e3a7327d..26dfb19dfcdb 100644
--- a/connectivity/source/drivers/mysql/YTables.cxx
+++ b/connectivity/source/drivers/mysql/YTables.cxx
@@ -157,7 +157,7 @@ void OTables::dropObject(sal_Int32 _nPos,const ::rtl::OUString _sElementName)
::rtl::OUString sCatalog,sSchema,sTable;
::dbtools::qualifiedNameComponents(m_xMetaData,_sElementName,sCatalog,sSchema,sTable,::dbtools::eInDataManipulation);
- ::rtl::OUString aSql = ::rtl::OUString::createFromAscii("DROP ");
+ ::rtl::OUString aSql( RTL_CONSTASCII_USTRINGPARAM( "DROP " ));
Reference<XPropertySet> xProp(xObject,UNO_QUERY);
sal_Bool bIsView = xProp.is() && ::comphelper::getString(xProp->getPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE))) == ::rtl::OUString::createFromAscii("VIEW");