diff options
author | Kevin Hunter <hunteke@earlham.edu> | 2010-11-09 14:55:22 -0500 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-10 08:19:12 +0100 |
commit | 601bfe023f5aeb9b10f4c17d50d18f9b7455f229 (patch) | |
tree | 22fa377c3b0de213eda4d616600749c5e1ccad31 /connectivity/workben | |
parent | e30c45f22519a413f6fb08adb5307b2b610e5c28 (diff) |
EasyHack: Convert to RTL macro from FromAscii
Diffstat (limited to 'connectivity/workben')
-rw-r--r-- | connectivity/workben/iniParser/main.cxx | 2 | ||||
-rw-r--r-- | connectivity/workben/little/main.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx index 41c183040d7b..683da1e03d85 100644 --- a/connectivity/workben/iniParser/main.cxx +++ b/connectivity/workben/iniParser/main.cxx @@ -97,7 +97,7 @@ public: sal_uInt64 nSize = 0; osl_getFileSize(handle, &nSize); - OUString sectionName = OUString::createFromAscii("no name section"); + OUString sectionName( RTL_CONSTASCII_USTRINGPARAM( "no name section" )); while (true) { sal_uInt64 nPos; diff --git a/connectivity/workben/little/main.cxx b/connectivity/workben/little/main.cxx index 2bed1a8496f8..cb41137ce3a8 100644 --- a/connectivity/workben/little/main.cxx +++ b/connectivity/workben/little/main.cxx @@ -87,7 +87,7 @@ void _cdecl main( int argc, char * argv[] ) Reference<XResultSet> xRes = xStmt->executeQuery(OUString::createFromAscii("SELECT * FROM Tele")); if(xRes.is()) { - ::rtl::OUString aPat = ::rtl::OUString::createFromAscii("%s\t"); + ::rtl::OUString aPat( RTL_CONSTASCII_USTRINGPARAM( "%s\t" )); Reference<XRow> xRow(xRes,UNO_QUERY); Reference<XResultSetMetaData> xMeta = Reference<XResultSetMetaDataSupplier>(xRes,UNO_QUERY)->getMetaData(); for(sal_Int32 i=1;i<xMeta->getColumnCount();++i) |