diff options
Diffstat (limited to 'l10ntools/source/xmlparse.cxx')
-rw-r--r-- | l10ntools/source/xmlparse.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/l10ntools/source/xmlparse.cxx b/l10ntools/source/xmlparse.cxx index b6df209ed896..088729aaf051 100644 --- a/l10ntools/source/xmlparse.cxx +++ b/l10ntools/source/xmlparse.cxx @@ -33,7 +33,6 @@ #include <rtl/strbuf.hxx> #include <unicode/regex.h> -using namespace U_ICU_NAMESPACE; using namespace std; using namespace osl; @@ -1082,14 +1081,14 @@ OString XMLUtil::QuotHTML( const OString &rString ) UErrorCode nIcuErr = U_ZERO_ERROR; static const sal_uInt32 nSearchFlags = UREGEX_DOTALL | UREGEX_CASE_INSENSITIVE; - static const UnicodeString sSearchPat( "<[/]\?\?[a-z_-]+?(?:| +[a-z]+?=\".*?\") *[/]\?\?>" ); + static const icu::UnicodeString sSearchPat( "<[/]\?\?[a-z_-]+?(?:| +[a-z]+?=\".*?\") *[/]\?\?>" ); const OUString sOUSource = OStringToOUString(rString, RTL_TEXTENCODING_UTF8); icu::UnicodeString sSource( reinterpret_cast<const UChar*>( sOUSource.getStr()), sOUSource.getLength() ); - RegexMatcher aRegexMatcher( sSearchPat, nSearchFlags, nIcuErr ); + icu::RegexMatcher aRegexMatcher( sSearchPat, nSearchFlags, nIcuErr ); aRegexMatcher.reset( sSource ); icu::UnicodeString sReturn; |