X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettoc.h;h=bf12da1f6e1ef5c293e9d509e42b368f7cec5053;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=fb370c2350b4d82948cc80027bc865c3db720c5a;hpb=77e706c44175f3cf71473a42d5db890c77b3b7b3;p=lyx.git diff --git a/src/insets/insettoc.h b/src/insets/insettoc.h index fb370c2350..bf12da1f6e 100644 --- a/src/insets/insettoc.h +++ b/src/insets/insettoc.h @@ -28,6 +28,7 @@ public: /// InsetTOC() : InsetCommand("tableofcontents") {} /// + explicit InsetTOC(Buffer * b) : InsetCommand("tableofcontents"), owner(b) {} /// Inset * Clone() const { return new InsetTOC(owner); }