From 3a18c3d97abfb60a09cc6a8bd5dd163fe2cfafa3 Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Fri, 10 Dec 2010 18:31:39 +0100 Subject: RTL_CONSTASCII_USTRINGPARAM in ure 1 --- registry/tools/checksingleton.cxx | 2 +- registry/tools/regcompare.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'registry/tools') diff --git a/registry/tools/checksingleton.cxx b/registry/tools/checksingleton.cxx index 1eb3dd09ca7c..8f470bee4da8 100644 --- a/registry/tools/checksingleton.cxx +++ b/registry/tools/checksingleton.cxx @@ -445,7 +445,7 @@ int _cdecl main( int argc, char * argv[] ) typeKey = typeRoot; } - if ( indexRoot.createKey(OUString::createFromAscii("SINGLETONS"), singletonKey) ) + if ( indexRoot.createKey(OUString(RTL_CONSTASCII_USTRINGPARAM("SINGLETONS")), singletonKey) ) { fprintf(stderr, "%s: open/create SINGLETONS key of registry \"%s\" failed\n", options.getProgramName().getStr(), options.getIndexReg().getStr()); diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index ec821a314fcb..c6089d509380 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -1634,8 +1634,8 @@ static sal_uInt32 checkBlob(const OUString& keyName, typereg::Reader& reader1, s } /* if ( nError && - (!keyName.compareTo(OUString::createFromAscii("/UCR/drafts"), 11) || - !keyName.compareTo(OUString::createFromAscii("/drafts"), 7)) ) + (!keyName.compareTo(OUString(RTL_CONSTASCII_USTRINGPARAM("/UCR/drafts")), 11) || + !keyName.compareTo(OUString(RTL_CONSTASCII_USTRINGPARAM("/drafts")), 7)) ) { if ( options.forceOutput() ) { -- cgit