X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetIPA.h;h=84db92e457bfef3ba2421061161b3756e2ddaa53;hb=33fa147fcab25bbc0649d620e9df229736870bfc;hp=783871d8a465e2cb367bb373a9e14c5f638c71e7;hpb=28040119576f3914a9e233bd064bf09731427046;p=lyx.git diff --git a/src/insets/InsetIPA.h b/src/insets/InsetIPA.h index 783871d8a4..84db92e457 100644 --- a/src/insets/InsetIPA.h +++ b/src/insets/InsetIPA.h @@ -16,7 +16,8 @@ #include "Dimension.h" -#include +#include "support/unique_ptr.h" + namespace lyx { @@ -44,6 +45,8 @@ public: Inset * clone() const { return new InsetIPA(*this); } bool neverIndent() const { return true; } + + bool forceLocalFontSwitch() const { return true; } InsetCode lyxCode() const { return IPA_CODE; } @@ -93,7 +96,7 @@ protected: void preparePreview(DocIterator const & pos) const; /// - boost::scoped_ptr preview_; + unique_ptr preview_; };