]> git.lyx.org Git - lyx.git/blobdiff - src/Bidi.C
use the default converter for insetexternal, too
[lyx.git] / src / Bidi.C
index e469270558fbef7b9f4be8215fb2de9f603257d8..db4775449bd0a7f6952f5032ea55e13f726c25ee 100644 (file)
@@ -17,7 +17,6 @@
 #include "lyxrc.h"
 #include "paragraph.h"
 
-#include "insets/updatableinset.h"
 
 using lyx::pos_type;
 
@@ -60,8 +59,7 @@ void Bidi::computeTables(Paragraph const & par,
                return;
        }
 
-       InsetOld * inset = par.inInset();
-       if (inset && inset->lyxCode() == InsetOld::ERT_CODE) {
+       if (par.ownerCode() == InsetBase::ERT_CODE) {
                start_ = -1;
                return;
        }