summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/breakiterator_methods.cpp
diff options
context:
space:
mode:
authorDanack <Danack@basereality.com>2015-03-15 13:59:48 +0000
committerDanack <Danack@basereality.com>2015-03-15 13:59:48 +0000
commit99dae96dc0041f856ae066b3f572495da609d28e (patch)
treefa5dbd0d839b4973359273103bd2cbfb90a9288e /ext/intl/breakiterator/breakiterator_methods.cpp
parentc57bde7c9e2f4ac3e93f096eaa93d4ab0133915d (diff)
downloadphp-git-99dae96dc0041f856ae066b3f572495da609d28e.tar.gz
Converted intl extension to use IntlException in constructors.
Diffstat (limited to 'ext/intl/breakiterator/breakiterator_methods.cpp')
-rw-r--r--ext/intl/breakiterator/breakiterator_methods.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/breakiterator_methods.cpp b/ext/intl/breakiterator/breakiterator_methods.cpp
index baab5a682d..02d228653a 100644
--- a/ext/intl/breakiterator/breakiterator_methods.cpp
+++ b/ext/intl/breakiterator/breakiterator_methods.cpp
@@ -162,12 +162,12 @@ U_CFUNC PHP_FUNCTION(breakiter_set_text)
BREAKITER_METHOD_FETCH_OBJECT;
ut = utext_openUTF8(ut, text->val, text->len, BREAKITER_ERROR_CODE_P(bio));
- INTL_CTOR_CHECK_STATUS(bio, "breakiter_set_text: error opening UText");
+ INTL_CTOR_CHECK_STATUS(bio, "breakiter_set_text: error opening UText", 0);
bio->biter->setText(ut, BREAKITER_ERROR_CODE(bio));
utext_close(ut); /* ICU shallow clones the UText */
INTL_CTOR_CHECK_STATUS(bio, "breakiter_set_text: error calling "
- "BreakIterator::setText()");
+ "BreakIterator::setText()", 0);
/* When ICU clones the UText, it does not copy the buffer, so we have to
* keep the string buffer around by holding a reference to its zval. This