summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:31:39 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-10 18:31:39 +0100
commit3a18c3d97abfb60a09cc6a8bd5dd163fe2cfafa3 (patch)
tree02ef980b5d6440ebbacf6f8801bea9d27f62b7a5 /registry/tools
parent377a56fb1b9825ec5dc71ba9ae81b6e27cfabffb (diff)
RTL_CONSTASCII_USTRINGPARAM in ure 1
Diffstat (limited to 'registry/tools')
-rw-r--r--registry/tools/checksingleton.cxx2
-rw-r--r--registry/tools/regcompare.cxx4
2 files changed, 3 insertions, 3 deletions
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() )
{