X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetinclude.C;h=12315f3cc37c096106535b93d34575e46cb88b3c;hb=3ce727041d6eef7a30ea58d8469ac8042eb20409;hp=3e66d587a2961046a9b3b4419a65c14ae25d33a7;hpb=7521b5d20f42102cf444e3fd8718a088a60d0098;p=lyx.git diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index 3e66d587a2..12315f3cc3 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -35,7 +35,7 @@ string const unique_id() { static unsigned int seed = 1000; - std::ostringstream ost; + ostringstream ost; ost << "file" << ++seed; // Needed if we use lyxstring. @@ -127,6 +127,12 @@ void InsetInclude::edit(BufferView * bv, int, int, unsigned int) } +void InsetInclude::edit(BufferView * bv, bool) +{ + edit(bv, 0, 0, 0); +} + + void InsetInclude::write(Buffer const *, ostream & os) const { os << "Include " << params_.cparams.getCommand() << "\n";