diff options
Diffstat (limited to 'regexp')
-rw-r--r-- | regexp/inc/regexp/reclass.hxx | 2 | ||||
-rw-r--r-- | regexp/source/reclass.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/regexp/inc/regexp/reclass.hxx b/regexp/inc/regexp/reclass.hxx index 4cb28197e429..cc9bf1d1ff3d 100644 --- a/regexp/inc/regexp/reclass.hxx +++ b/regexp/inc/regexp/reclass.hxx @@ -364,7 +364,7 @@ class REGEXP_DLLPUBLIC Regexpr sal_Int32 arg2, sal_Unicode *end); sal_Bool at_begline_loc_p(const sal_Unicode *local_pattern, const sal_Unicode *p); - sal_Bool at_endline_loc_p(const sal_Unicode *p, const sal_Unicode *pend); + sal_Bool at_endline_loc_p(const sal_Unicode *p); reg_errcode_t compile_range(sal_Unicode range_begin, sal_Unicode range_end, sal_Unicode *b); sal_Bool group_in_compile_stack(compile_stack_type compile_stack, sal_uInt32 regnum); diff --git a/regexp/source/reclass.cxx b/regexp/source/reclass.cxx index 7e051fab7742..8fdadef2c1f3 100644 --- a/regexp/source/reclass.cxx +++ b/regexp/source/reclass.cxx @@ -688,7 +688,7 @@ Regexpr::at_begline_loc_p(const sal_Unicode *local_pattern, const sal_Unicode *p at least one character after the $, i.e., `P < PEND'. */ sal_Bool -Regexpr::at_endline_loc_p(const sal_Unicode *p, const sal_Unicode * /* pend */ ) +Regexpr::at_endline_loc_p(const sal_Unicode *p) { const sal_Unicode *next = p; //sal_Bool next_backslash = *next == (sal_Unicode)'\\'; @@ -993,7 +993,7 @@ Regexpr::regex_compile() if ( /* If at end of pattern, it's an operator. */ p == pend /* Otherwise, depends on what's next. */ - || at_endline_loc_p(p, pend)) { + || at_endline_loc_p(p)) { BUF_PUSH(endline); } else { goto normal_char; |