summaryrefslogtreecommitdiff
path: root/svl/qa/unit
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-26 11:03:24 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-27 23:00:04 -0600
commitad6f9f2f00df27eec2fc6e640eb1a662644de6a4 (patch)
tree62431406830814a99c0815202a2761a7465b6414 /svl/qa/unit
parentc7709b460394283fd5b1d2779b6af3585f80a991 (diff)
String=>OUString of svl's urihelper
Change-Id: Ib4d9175ce4661140a147962b8f45be40f800d85a
Diffstat (limited to 'svl/qa/unit')
-rw-r--r--svl/qa/unit/test_URIHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/qa/unit/test_URIHelper.cxx b/svl/qa/unit/test_URIHelper.cxx
index 822b5a212e01..179ef3a2289e 100644
--- a/svl/qa/unit/test_URIHelper.cxx
+++ b/svl/qa/unit/test_URIHelper.cxx
@@ -301,8 +301,8 @@ void Test::testFindFirstURLInText() {
struct Data {
char const * input;
char const * result;
- xub_StrLen begin;
- xub_StrLen end;
+ sal_Int32 begin;
+ sal_Int32 end;
};
static Data const tests[] = {
{ "...ftp://bla.bla.bla/blubber/...",
@@ -390,8 +390,8 @@ void Test::testFindFirstURLInText() {
CharClass charClass( m_context, LanguageTag( com::sun::star::lang::Locale("en", "US", "")));
for (std::size_t i = 0; i < SAL_N_ELEMENTS(tests); ++i) {
rtl::OUString input(rtl::OUString::createFromAscii(tests[i].input));
- xub_StrLen begin = 0;
- xub_StrLen end = static_cast< xub_StrLen >(input.getLength());
+ sal_Int32 begin = 0;
+ sal_Int32 end = input.getLength();
rtl::OUString result(
URIHelper::FindFirstURLInText(input, begin, end, charClass));
bool ok = tests[i].result == 0