]> git.lyx.org Git - lyx.git/commitdiff
Some minor changes to get the code to compile with DEC cxx.
authorAngus Leeming <leeming@lyx.org>
Mon, 7 Jan 2002 14:17:54 +0000 (14:17 +0000)
committerAngus Leeming <leeming@lyx.org>
Mon, 7 Jan 2002 14:17:54 +0000 (14:17 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3301 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/box.h
src/lyxtextclass.C
src/lyxtextclasslist.C

index 7fe4b654dbdd9c15223c11736af7527bbda855d9..d8887e140f3f78ea9aca6a98cf53e49a498c6b8b 100644 (file)
@@ -1,3 +1,10 @@
+2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * box.h: #include "support/LOstream.h", needed for inlined function.
+
+       * lyxtextclass.C:
+       * lyxtextclasslist.C: added some using std declarations.
+
 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
 
        * box.h: make signed dimensions to allow insets wider than
index 60efc7556298d393503c1c309896796dec7f6ac0..8a53c737a76757919b9759a1dc357234f5fa93ab 100644 (file)
--- a/src/box.h
+++ b/src/box.h
@@ -9,6 +9,8 @@
 #ifndef BOX_H
 #define BOX_H
 
+#include "support/LOstream.h"
+
 /**
  * A simple class representing rectangular regions.
  * It is expected that the box be constructed in
index c891330ab8fc2dd9b63d8f01b31784fd8ee86ff5..b2ee820c70ecaeb027e7a900a31dffef7b1e90a3 100644 (file)
@@ -27,6 +27,8 @@
 #include <algorithm>
 
 using std::endl;
+using std::find_if;
+using std::remove_if;
 
 
 /* ******************************************************************* */
index d98d2b5d69a35cf4771050e04e5b2426b815afe5..9c1c447d1b57ca4ee9d849704326d94000879b9b 100644 (file)
@@ -34,6 +34,8 @@ using lyx::textclass_type;
 using std::pair;
 using std::make_pair;
 using std::endl;
+using std::find_if;
+using std::sort;
 
 
 // Gets textclass number from name