Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: third_party/icu/source/i18n/format.cpp

Issue 6484008: Enable RTTI for ICU.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: use _MSC_VERSION for conditional include on Win Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 ******************************************************************************* 2 *******************************************************************************
3 * Copyright (C) 1997-2010, International Business Machines Corporation and * 3 * Copyright (C) 1997-2010, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 * 6 *
7 * File FORMAT.CPP 7 * File FORMAT.CPP
8 * 8 *
9 * Modification History: 9 * Modification History:
10 * 10 *
11 * Date Name Description 11 * Date Name Description
12 * 02/19/97 aliu Converted from java. 12 * 02/19/97 aliu Converted from java.
13 * 03/17/97 clhuang Implemented with new APIs. 13 * 03/17/97 clhuang Implemented with new APIs.
14 * 03/27/97 helena Updated to pass the simple test after code review. 14 * 03/27/97 helena Updated to pass the simple test after code review.
15 * 07/20/98 stephen Added explicit init values for Field/ParsePositio n 15 * 07/20/98 stephen Added explicit init values for Field/ParsePositio n
16 ******************************************************************************** 16 ********************************************************************************
17 */ 17 */
18 // ***************************************************************************** 18 // *****************************************************************************
19 // This file was generated from the java source file Format.java 19 // This file was generated from the java source file Format.java
20 // ***************************************************************************** 20 // *****************************************************************************
21 21
22 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS
23 #include <exception>
24 using std::exception;
25 #endif
22 #include <typeinfo> // for 'typeid' to work 26 #include <typeinfo> // for 'typeid' to work
23 27
24 #include "unicode/utypes.h" 28 #include "unicode/utypes.h"
25 29
26 /* 30 /*
27 * Dummy code: 31 * Dummy code:
28 * If all modules in the I18N library are switched off, then there are no 32 * If all modules in the I18N library are switched off, then there are no
29 * library exports and MSVC 6 writes a .dll but not a .lib file. 33 * library exports and MSVC 6 writes a .dll but not a .lib file.
30 * Unless we export _something_ in that case... 34 * Unless we export _something_ in that case...
31 */ 35 */
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 Format::setLocaleIDs(const char* valid, const char* actual) { 208 Format::setLocaleIDs(const char* valid, const char* actual) {
205 U_LOCALE_BASED(locBased, *this); 209 U_LOCALE_BASED(locBased, *this);
206 locBased.setLocaleIDs(valid, actual); 210 locBased.setLocaleIDs(valid, actual);
207 } 211 }
208 212
209 U_NAMESPACE_END 213 U_NAMESPACE_END
210 214
211 #endif /* #if !UCONFIG_NO_FORMATTING */ 215 #endif /* #if !UCONFIG_NO_FORMATTING */
212 216
213 //eof 217 //eof
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698