Kaydet (Commit) b88434d6 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: rhbz#1077780 crash on loading .docx

Change-Id: I92670b9c46a2c745ba47c6dcc1b4dd672942cf59
üst dd139fa3
...@@ -636,6 +636,8 @@ void lcl_MoveBorderPropertiesToFrame(uno::Sequence<beans::PropertyValue>& rFrame ...@@ -636,6 +636,8 @@ void lcl_MoveBorderPropertiesToFrame(uno::Sequence<beans::PropertyValue>& rFrame
{ {
try try
{ {
if (!xStartTextRange.is()) //rhbz#1077780
return;
uno::Reference<text::XTextCursor> xRangeCursor = xStartTextRange->getText()->createTextCursorByRange( xStartTextRange ); uno::Reference<text::XTextCursor> xRangeCursor = xStartTextRange->getText()->createTextCursorByRange( xStartTextRange );
xRangeCursor->gotoRange( xEndTextRange, true ); xRangeCursor->gotoRange( xEndTextRange, 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