diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-08 15:14:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-08 15:17:22 +0000 |
commit | 164ac84e28df50911a8c20f78119d05e21086c6c (patch) | |
tree | 1dc5cec292f2072e6f42a1d19f3a857ef1bb8793 /desktop/source/migration | |
parent | d2602cabe651b43b8354eaee9038fc90798e28e2 (diff) |
use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'desktop/source/migration')
-rw-r--r-- | desktop/source/migration/cfgfilter.cxx | 6 | ||||
-rw-r--r-- | desktop/source/migration/services/autocorrmigration.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/migration/cfgfilter.cxx b/desktop/source/migration/cfgfilter.cxx index 7ee970235acc..ca4e0b542cc7 100644 --- a/desktop/source/migration/cfgfilter.cxx +++ b/desktop/source/migration/cfgfilter.cxx @@ -64,7 +64,7 @@ void SAL_CALL CConfigFilter::initialize(const Sequence< Any >& seqArgs) } } if (m_aCurrentComponent.getLength() == 0) - m_aCurrentComponent = OUString::createFromAscii("unknown.component"); + m_aCurrentComponent = OUString(RTL_CONSTASCII_USTRINGPARAM("unknown.component")); if (!m_xSourceLayer.is()) { throw Exception(); @@ -78,7 +78,7 @@ void CConfigFilter::pushElement(rtl::OUString aName, sal_Bool bUse) OUString aPath; if (!m_elementStack.empty()) { aPath = m_elementStack.top().path; // or use base path - aPath += OUString::createFromAscii("/"); + aPath += OUString(RTL_CONSTASCII_USTRINGPARAM("/")); } aPath += aName; @@ -103,7 +103,7 @@ sal_Bool CConfigFilter::checkElement(rtl::OUString aName) // get full pathname for element OUString aFullPath; if (!m_elementStack.empty()) - aFullPath = m_elementStack.top().path + OUString::createFromAscii("/"); + aFullPath = m_elementStack.top().path + OUString(RTL_CONSTASCII_USTRINGPARAM("/")); aFullPath += aName; diff --git a/desktop/source/migration/services/autocorrmigration.cxx b/desktop/source/migration/services/autocorrmigration.cxx index 3030b429d1e9..a54ed08548cc 100644 --- a/desktop/source/migration/services/autocorrmigration.cxx +++ b/desktop/source/migration/services/autocorrmigration.cxx @@ -175,7 +175,7 @@ namespace migration ::rtl::OUString sLanguageType = sSourceLocalName.copy( nStart, nEnd - nStart ); ::rtl::OUString sIsoName = MsLangId::convertLanguageToIsoString( (LanguageType) sLanguageType.toInt32() ); ::rtl::OUString sTargetLocalName = sBaseName; - sTargetLocalName += ::rtl::OUString::createFromAscii( "_" ); + sTargetLocalName += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "_" )); sTargetLocalName += sIsoName; sTargetLocalName += sSuffix; ::rtl::OUString sTargetName = sTargetDir + sTargetLocalName; |