X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.C;h=db4775449bd0a7f6952f5032ea55e13f726c25ee;hb=55ded55ccfede99816c92de009d82c245ab69514;hp=ce9b4651d5f4355d6f597908d8a2ad3a457edaa8;hpb=dd306473146eec6098bf9c15ae23107658379360;p=lyx.git diff --git a/src/Bidi.C b/src/Bidi.C index ce9b4651d5..db4775449b 100644 --- a/src/Bidi.C +++ b/src/Bidi.C @@ -17,7 +17,6 @@ #include "lyxrc.h" #include "paragraph.h" -#include "insets/updatableinset.h" using lyx::pos_type; @@ -60,9 +59,7 @@ void Bidi::computeTables(Paragraph const & par, return; } - InsetOld * inset = par.inInset(); - if (inset && inset->owner() && - inset->owner()->lyxCode() == InsetOld::ERT_CODE) { + if (par.ownerCode() == InsetBase::ERT_CODE) { start_ = -1; return; }