X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FBufferView.h;h=a94ddfd56b718b989bb53b7046401066dfe14c6b;hb=a9409b47851e57afb2a9c1b1262e60c6963d9dc4;hp=d164438ad57f6a5946c2b101ccfa4c4b030b35f6;hpb=ead697d4b6c7122a2144b96712e6d2a3184f6fd8;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index d164438ad5..a94ddfd56b 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -18,7 +18,6 @@ #include "DocumentClassPtr.h" #include "update_flags.h" -#include "support/shared_ptr.h" #include "support/strfwd.h" #include "support/types.h" @@ -318,6 +317,8 @@ public: void clearLastInset(Inset * inset) const; /// Is the mouse hovering a clickable inset or element? bool clickableInset() const; + /// + void makeDocumentClass(); private: /// noncopyable @@ -334,7 +335,7 @@ private: /// when it is allowed to scroll below the document. int minVisiblePart(); - /// Search recursively for the the innermost inset that covers (x, y) position. + /// Search recursively for the innermost inset that covers (x, y) position. /// \retval 0 if no inset is found. Inset const * getCoveringInset( Text const & text, //< The Text where we start searching.