From: John Levon Date: Sun, 21 Jul 2002 16:59:01 +0000 (+0000) Subject: std:: fixes for toc X-Git-Tag: 1.6.10~18797 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=16668d1632536894964c8ca624b3c90207ebe772;p=features.git std:: fixes for toc git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4733 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ChangeLog b/src/ChangeLog index 4d79eccbe4..18b28cd34f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2002-07-21 John Levon + + * toc.[Ch]: std:: fixes + 2002-07-21 Jean-Marc Lasgouttes * toc.[Ch]: new files, containing helper functions to handle table diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 4b5d20d05f..c0a1d36d49 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-07-21 John Levon + + * FormToc.C: std:: fix + 2002-07-21 Jean-Marc Lasgouttes * FormSendto.C: diff --git a/src/frontends/xforms/FormToc.C b/src/frontends/xforms/FormToc.C index c37e7bc183..9a54cb9632 100644 --- a/src/frontends/xforms/FormToc.C +++ b/src/frontends/xforms/FormToc.C @@ -24,6 +24,7 @@ #include +using std::vector; using std::endl; diff --git a/src/toc.C b/src/toc.C index 53e55d80f3..79c528c154 100644 --- a/src/toc.C +++ b/src/toc.C @@ -31,6 +31,9 @@ #include "debug.h" using std::vector; +using std::max; +using std::endl; +using std::ostream; extern LyXAction lyxaction; diff --git a/src/toc.h b/src/toc.h index 78ec77afa9..5af9e4959f 100644 --- a/src/toc.h +++ b/src/toc.h @@ -20,6 +20,8 @@ #pragma interface #endif +#include + #include "support/LOstream.h" #include "LString.h" @@ -65,7 +67,7 @@ TocList const getTocList(Buffer const *); std::vector const getTypes(Buffer const *); /// -void asciiTocList(string const &, Buffer const *, ostream &); +void asciiTocList(string const &, Buffer const *, std::ostream &); /** Given the cmdName of the TOC param, returns the type used by ControlToc::getContents() */