]> git.lyx.org Git - lyx.git/blobdiff - src/outputparams.h
fix nullstream also in pch files
[lyx.git] / src / outputparams.h
index c5307ff75eff4374f75af6ba8badc5c9368a939f..40a119d7d25305ff16a87896d0f6b08e9a4a95fa 100644 (file)
@@ -89,6 +89,14 @@ public:
            OutputParams instances.
        */
        boost::shared_ptr<ExportData> exportdata;
+
+       /** Whether we are inside a comment inset. Insets that are including
+        *  external files like InsetGraphics, InsetInclude and InsetExternal
+        *  may only write the usual output and must not attempt to do
+        *  something with the included files (e.g. copying, converting)
+        *  if this flag is true, since they may not exist.
+        */
+       bool inComment;
 };
 
 #endif // NOT OUTPUTPARAMS_H