]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetGraphics.cpp
index 27df512a29e2f1d507dc23e850ff0a89f6509e04..92de4c043f8f98386671fbaa541b3072aafc77e3 100644 (file)
@@ -858,11 +858,6 @@ void InsetGraphics::latex(otexstream & os,
        if (runparams.moving_arg)
                before += "\\protect";
 
-       if (runparams.inDeletedInset) {
-               before += "\\lyxobjectsout{";
-               after += "}";
-       }
-
        // We never use the starred form, we use the "clip" option instead.
        before += "\\includegraphics";
 
@@ -1141,8 +1136,10 @@ void InsetGraphics::validate(LaTeXFeatures & features) const
                if (contains(rel_file, "."))
                        features.require("lyxdot");
        }
-       if (features.inDeletedInset())
+       if (features.inDeletedInset()) {
+               features.require("tikz");
                features.require("ct-tikz-object-sout");
+       }
 }