loplugin:stringadd (macOS)

Change-Id: Ic9c23fcda4c798c1ca2de5a010da292d56b10e8b
Reviewed-on: https://gerrit.libreoffice.org/81201
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-10-21 08:35:50 +02:00
parent 7e4358a0ca
commit c820bf8baf
2 changed files with 4 additions and 4 deletions

View File

@@ -456,7 +456,7 @@ MacabHeader *MacabRecords::createHeaderForRecordType(const CFArrayRef _records,
else
{
// Couldn't find a required property...
OSL_FAIL(OString(OString("MacabRecords::createHeaderForRecordType: could not find required property: ") +
OSL_FAIL(OString("MacabRecords::createHeaderForRecordType: could not find required property: " +
OUStringToOString(CFStringToOUString(requiredProperties[i]), RTL_TEXTENCODING_ASCII_US)).getStr());
}
}

View File

@@ -213,9 +213,9 @@ namespace
OUStringToOString(aInfo.GetDriverVersion(), RTL_TEXTENCODING_UTF8) +
OString::number(aInfo.GetWindowsVersion());
#else
return OString(reinterpret_cast<const char*>(glGetString(GL_VENDOR))) +
OString(reinterpret_cast<const char*>(glGetString(GL_RENDERER))) +
OString(reinterpret_cast<const char*>(glGetString(GL_VERSION)));
return rtl::OStringView(reinterpret_cast<const char*>(glGetString(GL_VENDOR))) +
reinterpret_cast<const char*>(glGetString(GL_RENDERER)) +
reinterpret_cast<const char*>(glGetString(GL_VERSION));
#endif
}