diff options
-rw-r--r-- | sc/qa/unit/tiledrendering/tiledrendering.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx index eaffc6dbacc3..9fdefb5e22a4 100644 --- a/sc/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx @@ -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; } |