// expected-error-re@+1 {{replace function parameter of type 'const {{(rtl::)?}}OUString &' with 'std::u16string_view' [loplugin:stringviewparam]}} void f11(const OUString& f11rString)
{
OUStringBuffer buf;
buf.append(f11rString);
}
// expected-error-re@+1 {{replace function parameter of type 'const {{(rtl::)?}}OUString &' with 'std::u16string_view' [loplugin:stringviewparam]}}
sal_uInt32 decimalStringToNumber(OUString const& str, sal_Int32 nStart, sal_Int32 nLength)
{
sal_uInt32 result = 0; for (sal_Int32 i = nStart; i < nStart + nLength;)
{
sal_uInt32 c = str.iterateCodePoints(&i);
sal_uInt32 value = 0; if (c <= 0x0039)
value = c - 0x0030;
result = result * 10 + value;
} return result;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.