mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5304 Allow source code to work again without using U_NAMESPACE_USE in public headers
X-SVN-Rev: 20247
This commit is contained in:
parent
53e8758805
commit
54b3663247
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue