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:
George Rhoten 2006-09-04 17:15:14 +00:00
parent 53e8758805
commit 54b3663247

View file

@ -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