]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.cpp
* make it compile
[lyx.git] / src / rowpainter.cpp
index 533edcd58583d60660078d2d2af7564b3c40e612..ee256092592672a486115827b71f339f735f4745 100644 (file)
@@ -21,6 +21,7 @@
 #include "debug.h"
 #include "BufferParams.h"
 #include "BufferView.h"
+#include "Changes.h"
 #include "Encoding.h"
 #include "gettext.h"
 #include "Language.h"
@@ -750,7 +751,7 @@ void RowPainter::paintText()
                }
 
                bool const highly_editable_inset = par_.isInset(pos)
-                       && isHighlyEditableInset(par_.getInset(pos));
+                       && par_.getInset(pos)->editable() == Inset::HIGHLY_EDITABLE;
 
                // If we reach the end of a struck out range, paint it.
                // We also don't paint across things like tables