Kaydet (Commit) 5bc4bcfd authored tarafından Miklos Vajna's avatar Miklos Vajna

CppunitTest_sc_tiledrendering: std::string::find -> OString::startsWith

Change-Id: Ic7185cc0430e7007b1e4f27ba5c43d947405e198
Reviewed-on: https://gerrit.libreoffice.org/29292Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 771d1062
......@@ -440,8 +440,8 @@ public:
break;
case LOK_CALLBACK_INVALIDATE_TILES:
{
std::string text(pPayload);
if (text.find("EMPTY") != std::string::npos)
OString text(pPayload);
if (text.startsWith("EMPTY"))
{
m_bFullInvalidateTiles = true;
}
......
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