diff options
author | Eike Rathke <erack@redhat.com> | 2019-06-27 19:24:44 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-06-27 22:19:20 +0200 |
commit | 49538c5bcd3cfa933b73d471ef4825ca793ad910 (patch) | |
tree | 3074b9f911d9069c1f836c54fd75381b6258cba8 /l10ntools/source | |
parent | Ditch "using namespace U_ICU_NAMESPACE;", qualify icu:: instead (diff) | |
download | core-49538c5bcd3cfa933b73d471ef4825ca793ad910.tar.gz core-49538c5bcd3cfa933b73d471ef4825ca793ad910.zip |
Ditch "using namespace U_ICU_NAMESPACE;", qualify icu:: instead
geez.. for two places..
Change-Id: I4855fc92290547b0e1ca6ff5b2f10a333c6caa3f
Reviewed-on: https://gerrit.libreoffice.org/74815
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'l10ntools/source')
-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; |