From 318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 29 Jun 2013 14:42:54 +0200 Subject: remove some createFromAscii usage there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424 --- xmlsecurity/qa/certext/SanCertExt.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xmlsecurity') 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)); } } } -- cgit