summaryrefslogtreecommitdiff
path: root/svl/qa/unit/test_INetContentType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/qa/unit/test_INetContentType.cxx')
-rw-r--r--svl/qa/unit/test_INetContentType.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/qa/unit/test_INetContentType.cxx b/svl/qa/unit/test_INetContentType.cxx
index a2ce362a10a0..b7aa71cd6e66 100644
--- a/svl/qa/unit/test_INetContentType.cxx
+++ b/svl/qa/unit/test_INetContentType.cxx
@@ -41,7 +41,7 @@ void Test::testBad() {
OUString in("foo=bar");
CPPUNIT_ASSERT_EQUAL(
static_cast<sal_Unicode const *>(0),
- INetContentTypes::scan(in.getStr(), in.getStr() + in.getLength()));
+ INetMIME::scanContentType(in.getStr(), in.getStr() + in.getLength()));
OUString t;
OUString s;
INetContentTypeParameterList ps;
@@ -56,7 +56,7 @@ void Test::testFull() {
OUString in("foo/bar;baz=boz");
CPPUNIT_ASSERT_EQUAL(
in.getStr() + in.getLength(),
- INetContentTypes::scan(in.getStr(), in.getStr() + in.getLength()));
+ INetMIME::scanContentType(in.getStr(), in.getStr() + in.getLength()));
OUString t;
OUString s;
INetContentTypeParameterList ps;
@@ -72,7 +72,7 @@ void Test::testFollow() {
OUString in("foo/bar;baz=boz;base64,");
CPPUNIT_ASSERT_EQUAL(
in.getStr() + std::strlen("foo/bar;baz=boz"),
- INetContentTypes::scan(in.getStr(), in.getStr() + in.getLength()));
+ INetMIME::scanContentType(in.getStr(), in.getStr() + in.getLength()));
OUString t;
OUString s;
INetContentTypeParameterList ps;