]> git.lyx.org Git - features.git/commitdiff
std:: fixes for toc
authorJohn Levon <levon@movementarian.org>
Sun, 21 Jul 2002 16:59:01 +0000 (16:59 +0000)
committerJohn Levon <levon@movementarian.org>
Sun, 21 Jul 2002 16:59:01 +0000 (16:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4733 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/frontends/xforms/ChangeLog
src/frontends/xforms/FormToc.C
src/toc.C
src/toc.h

index 4d79eccbe44bee107a3315c03280889377b6de42..18b28cd34f3e8620c15e023dff9abbc0f7dc8647 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * toc.[Ch]: std:: fixes
 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * toc.[Ch]: new files, containing helper functions to handle table
index 4b5d20d05f3d9f42f164fdb876067d7ae38975c2..c0a1d36d49ae705449d5ed403621a54d317db68a 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
+
+       * FormToc.C: std:: fix
 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * FormSendto.C: 
index c37e7bc1832a8653c25631465b4d06d801d2bd4a..9a54cb9632787071aaccbd72a8e0403dc744bfaa 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <vector>
 
+using std::vector;
 using std::endl;
 
 
index 53e55d80f392cdd8117b3e88b72aec777bddd88c..79c528c1549907c9cae9ed24155f1e80a26506e9 100644 (file)
--- 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;
 
index 78ec77afa964da65921d5836a9e479e1e673cf45..5af9e4959f894d29127ec602fca56c60948f4b08 100644 (file)
--- a/src/toc.h
+++ b/src/toc.h
@@ -20,6 +20,8 @@
 #pragma interface
 #endif
 
+#include <config.h>
 #include "support/LOstream.h"
 #include "LString.h"
 
@@ -65,7 +67,7 @@ TocList const getTocList(Buffer const *);
 std::vector<string> 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() */