X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftabular.C;h=86091c6e36a02486ec4f65ffa911810f50349877;hb=7521b5d20f42102cf444e3fd8718a088a60d0098;hp=99e7816168bc011a4d64bf3c845fd3b14a4161a6;hpb=e40120ce1c2ae507a03e1c642080d7d69a3b9eca;p=lyx.git diff --git a/src/tabular.C b/src/tabular.C index 99e7816168..86091c6e36 100644 --- a/src/tabular.C +++ b/src/tabular.C @@ -1556,7 +1556,7 @@ void LyXTabular::OldFormatRead(LyXLex & lex, string const & fl) } } par->copyIntoMinibuffer(*owner_->bufferOwner(), i); - inset->par->insertFromMinibuffer(inset->par->size()); + inset->paragraph()->insertFromMinibuffer(inset->paragraph()->size()); } delete par; Reinit(); @@ -2163,8 +2163,8 @@ int LyXTabular::Latex(Buffer const * buf, ret += TeXCellPreamble(os, cell); InsetText * inset = GetCellInset(cell); - bool rtl = inset->par->isRightToLeftPar(buf->params) && - inset->par->size() > 0 && GetPWidth(cell).empty(); + bool rtl = inset->paragraph()->isRightToLeftPar(buf->params) && + inset->paragraph()->size() > 0 && GetPWidth(cell).empty(); if (rtl) os << "\\R{"; @@ -2570,7 +2570,7 @@ std::vector const LyXTabular::getLabelList() const LyXTabular::BoxType LyXTabular::UseParbox(int cell) const { - Paragraph * par = GetCellInset(cell)->par; + Paragraph * par = GetCellInset(cell)->paragraph(); for (; par; par = par->next()) { for (int i = 0; i < par->size(); ++i) {