Kaydet (Commit) 759c3017 authored tarafından Arnaud Versini's avatar Arnaud Versini Kaydeden (comit) Eike Rathke

SW : Fix crash by checking find result

Change-Id: I6caf18b110dd0a40f09e185c00cb238261457db3
Reviewed-on: https://gerrit.libreoffice.org/3783Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst d526091e
......@@ -3211,7 +3211,10 @@ ModelToViewHelper::ModelToViewHelper(const SwTxtNode &rNode, int eMode)
if (aHiddenMulti.IsSelected(nDummyCharPos))
std::vector<block>::iterator aFind = std::find_if(aBlocks.begin(), aBlocks.end(), containsPos(nDummyCharPos));
if (aFind != aBlocks.end())
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