diff --git a/src/cursor_slice.C b/src/cursor_slice.C index 5ae0015a9c..cbbda47d1a 100644 --- a/src/cursor_slice.C +++ b/src/cursor_slice.C @@ -172,7 +172,7 @@ MathArray & CursorSlice::cell() const LyXText * CursorSlice::text() const { - inset_ ? inset_->getText(idx_) : 0; + return inset_ ? inset_->getText(idx_) : 0; }