summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-09-25 19:21:38 +0300
committerTor Lillqvist <tml@collabora.com>2014-09-25 19:22:34 +0300
commitc40a8f6c0466f609e49ad1bd4b9da339552d18dc (patch)
treeec10926725181dbc79a85907e4e2aa587f7f4f70
parent7377768b290e728d3df1fc5b7b04ce81ae285ada (diff)
Follow-up to fdo#84138: Add YIELD_GUARD here, too, fixes another crash
Change-Id: If4de88233493d7590736e4a3b76c2447ed429ae5
-rw-r--r--vcl/osx/salframeview.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm
index 92b579bb337a..8e74086e3dc7 100644
--- a/vcl/osx/salframeview.mm
+++ b/vcl/osx/salframeview.mm
@@ -1629,6 +1629,8 @@ private:
(void) replacementRange; // FIXME - use it!
#endif
+ YIELD_GUARD;
+
if( ![aString isKindOfClass:[NSAttributedString class]] )
aString = [[[NSAttributedString alloc] initWithString:aString] autorelease];
NSRange rangeToReplace = [self hasMarkedText] ? [self markedRange] : [self selectedRange];