Kaydet (Commit) a062799b authored tarafından Chr. Rossmanith's avatar Chr. Rossmanith Kaydeden (comit) Caolán McNamara

add equals(OString const &text) to Span

useful when removing RTL_CONST_STRINGPARAM

Change-Id: Ic131876a3fb38e69185342c4c7a46d536d60c8e5
Reviewed-on: https://gerrit.libreoffice.org/2256Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst b8da61ac
......@@ -53,6 +53,11 @@ struct OOO_DLLPUBLIC_XMLREADER Span {
return equals(Span(textBegin, textLength));
inline bool equals(rtl::OString const & text) const {
return rtl_str_compare_WithLength(
begin, length, text.getStr(), text.getLength()) == 0;
rtl::OUString convertFromUtf8() const;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment