X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..51004dcb01e06fef634b61be77ed73dd61cb6db9:/icuSources/i18n/uregexc.cpp diff --git a/icuSources/i18n/uregexc.cpp b/icuSources/i18n/uregexc.cpp index 837bab0f..65900206 100644 --- a/icuSources/i18n/uregexc.cpp +++ b/icuSources/i18n/uregexc.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2003-2005, International Business Machines +* Copyright (C) 2003-2006, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: regexc.cpp @@ -12,6 +12,8 @@ #include "unicode/uregex.h" #include "unicode/unistr.h" +U_NAMESPACE_USE + //---------------------------------------------------------------------------------------- // // uregex_openC @@ -33,7 +35,6 @@ uregex_openC( const char *pattern, } UnicodeString patString(pattern); - URegularExpression *re = uregex_open(patString.getBuffer(), patString.length(), flags, pe, status); - return re; + return uregex_open(patString.getBuffer(), patString.length(), flags, pe, status); } #endif