]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPreview.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetPreview.h
index f2bfdd535f6bb28f14bb54cbf877373a8ef07203..6a9d29043c4e9d678b498a39a8b83441cda33f11 100644 (file)
@@ -32,7 +32,7 @@ class InsetPreview : public InsetText {
 
 public:
        ///
-       InsetPreview(Buffer *);
+       explicit InsetPreview(Buffer *);
        ///
        ~InsetPreview();
        ///
@@ -46,6 +46,8 @@ public:
 
        bool neverIndent() const { return true; }
 
+       bool inheritFont() const { return false; }
+
        InsetCode lyxCode() const { return PREVIEW_CODE; }
 
        docstring layoutName() const { return from_ascii("Preview"); }