]> git.lyx.org Git - features.git/blobdiff - src/insets/updatableinset.h
some renaming + safety stuff
[features.git] / src / insets / updatableinset.h
index 592028bc44c91e09f9aa44548d53302138270ab6..b549dc212fd328c4e3e77da8808f2e8cc41d7b44 100644 (file)
@@ -25,6 +25,8 @@ class UpdatableInset : public InsetOld {
 public:
        ///
        virtual EDITABLE editable() const;
+       /// identification as math inset
+       UpdatableInset * asUpdatableInset() { return this; }
 
        /// return the cursor pos, relative to the inset pos
        virtual void getCursorPos(int, int &, int &) const {}