summaryrefslogtreecommitdiff
path: root/xmlsecurity/qa/certext
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /xmlsecurity/qa/certext
parent231fb4182fc9e81f801ff1d1355f7a613d0856c2 (diff)
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'xmlsecurity/qa/certext')
-rw-r--r--xmlsecurity/qa/certext/SanCertExt.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xmlsecurity/qa/certext/SanCertExt.cxx b/xmlsecurity/qa/certext/SanCertExt.cxx
index 04ed64fd564e..f5e182b2748a 100644
--- a/xmlsecurity/qa/certext/SanCertExt.cxx
+++ b/xmlsecurity/qa/certext/SanCertExt.cxx
@@ -179,7 +179,7 @@ namespace {
::com::sun::star::beans::NamedValue otherNameProp;
if (altNames[n].Value >>= otherNameProp)
{
- CPPUNIT_ASSERT_EQUAL( OUString::createFromAscii("1.2.3.4"), otherNameProp.Name);
+ CPPUNIT_ASSERT_EQUAL( OUString("1.2.3.4"), otherNameProp.Name);
uno::Sequence< sal_Int8 > ipAddress;
otherNameProp.Value >>= ipAddress;
CPPUNIT_ASSERT_ASSERTION_PASS( CPPUNIT_ASSERT( ipAddress.getLength() > 0 ) );
@@ -196,7 +196,7 @@ namespace {
{
OUString value;
altNames[n].Value >>= value;
- CPPUNIT_ASSERT_EQUAL( OUString::createFromAscii("my@other.address"), value);
+ CPPUNIT_ASSERT_EQUAL( OUString("my@other.address"), value);
}
}
}
@@ -209,7 +209,7 @@ namespace {
{
OUString value;
altNames[n].Value >>= value;
- CPPUNIT_ASSERT_EQUAL( OUString::createFromAscii("alt.openoffice.org"), value);
+ CPPUNIT_ASSERT_EQUAL( OUString("alt.openoffice.org"), value);
}
}
}
@@ -226,7 +226,7 @@ namespace {
{
OUString value;
altNames[n].Value >>= value;
- CPPUNIT_ASSERT_EQUAL( OUString::createFromAscii("http://my.url.here/"), value);
+ CPPUNIT_ASSERT_EQUAL( OUString("http://my.url.here/"), value);
}
}
}
@@ -253,7 +253,7 @@ namespace {
{
OUString value;
altNames[n].Value >>= value;
- CPPUNIT_ASSERT( OUString::createFromAscii("1.2.3.4").equals(value));
+ CPPUNIT_ASSERT( OUString("1.2.3.4").equals(value));
}
}
}