]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPreview.cpp
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetPreview.cpp
index c306ae91d21ea3678bf31f7ec935e96073f74a5d..7b89e1ba6b9ecd851137686b84b316f88eda653b 100644 (file)
@@ -99,7 +99,7 @@ void InsetPreview::preparePreview(DocIterator const & pos) const
                dit.forwardInset();
        for (; dit != dend; dit.forwardInset()) {
                InsetMath * im = dit.nextInset()->asInsetMath();
-               InsetMathHull * hull = im ? im->asHullInset() : 0;
+               InsetMathHull * hull = im ? im->asHullInset() : nullptr;
                if (!hull)
                        continue;
                for (idx_type idx = 0; idx < hull->nargs(); ++idx)