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

Side by Side Diff: third_party/icu/source/common/rbbi.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
« no previous file with comments | « third_party/icu/icu.gyp ('k') | third_party/icu/source/common/schriter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 *************************************************************************** 2 ***************************************************************************
3 * Copyright (C) 1999-2010 International Business Machines Corporation 3 * Copyright (C) 1999-2010 International Business Machines Corporation
4 * and others. All rights reserved. 4 * and others. All rights reserved.
5 *************************************************************************** 5 ***************************************************************************
6 */ 6 */
7 // 7 //
8 // file: rbbi.c Contains the implementation of the rule based break iterato r 8 // file: rbbi.c Contains the implementation of the rule based break iterato r
9 // runtime engine and the API implementation for 9 // runtime engine and the API implementation for
10 // class RuleBasedBreakIterator 10 // class RuleBasedBreakIterator
11 // 11 //
12 12
13 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS
Marc-Antoine Ruel (Google) 2011/02/15 13:48:43 I think #if defined(_MSC_VER) && _HAS_EXCEPTIONS
14 #include <exception>
15 using std::exception;
16 #endif
13 #include <typeinfo> // for 'typeid' to work 17 #include <typeinfo> // for 'typeid' to work
14 18
15 #include "unicode/utypes.h" 19 #include "unicode/utypes.h"
16 20
17 #if !UCONFIG_NO_BREAK_ITERATION 21 #if !UCONFIG_NO_BREAK_ITERATION
18 22
19 #include "unicode/rbbi.h" 23 #include "unicode/rbbi.h"
20 #include "unicode/schriter.h" 24 #include "unicode/schriter.h"
21 #include "unicode/uchriter.h" 25 #include "unicode/uchriter.h"
22 #include "unicode/udata.h" 26 #include "unicode/udata.h"
(...skipping 1849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 }*/ 1876 }*/
1873 1877
1874 void RuleBasedBreakIterator::setBreakType(int32_t type) { 1878 void RuleBasedBreakIterator::setBreakType(int32_t type) {
1875 fBreakType = type; 1879 fBreakType = type;
1876 reset(); 1880 reset();
1877 } 1881 }
1878 1882
1879 U_NAMESPACE_END 1883 U_NAMESPACE_END
1880 1884
1881 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ 1885 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
OLDNEW
« no previous file with comments | « third_party/icu/icu.gyp ('k') | third_party/icu/source/common/schriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698