X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettoc.C;h=c93c62e26acb11e63787d4aa6b65eab0022a139d;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=d78ef8f37b8999dc1db3f926e3f3cc03c4e5ce0b;hpb=5f2e3c4c43f8e1736a2b7654595dfe6c175b4b3b;p=lyx.git diff --git a/src/insets/insettoc.C b/src/insets/insettoc.C index d78ef8f37b..c93c62e26a 100644 --- a/src/insets/insettoc.C +++ b/src/insets/insettoc.C @@ -12,7 +12,10 @@ #include "debug.h" #include "buffer.h" + using std::vector; +using std::ostream; + string const InsetTOC::getScreenLabel(Buffer const *) const { @@ -45,7 +48,7 @@ void InsetTOC::edit(BufferView * bv, bool) } -int InsetTOC::ascii(Buffer const * buffer, std::ostream & os, int) const +int InsetTOC::ascii(Buffer const * buffer, ostream & os, int) const { os << getScreenLabel(buffer) << "\n\n"; @@ -69,7 +72,7 @@ int InsetTOC::ascii(Buffer const * buffer, std::ostream & os, int) const } -int InsetTOC::linuxdoc(Buffer const *, std::ostream & os) const +int InsetTOC::linuxdoc(Buffer const *, ostream & os) const { if (getCmdName() == "tableofcontents") os << ""; @@ -77,7 +80,7 @@ int InsetTOC::linuxdoc(Buffer const *, std::ostream & os) const } -int InsetTOC::DocBook(Buffer const *, std::ostream & os) const +int InsetTOC::docbook(Buffer const *, ostream & os) const { if (getCmdName() == "tableofcontents") os << "";