From 4ec4af2205fd20359fb0a60ac3b3a117a2675cb0 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 15 Oct 2002 17:45:12 +0000 Subject: [PATCH] Compile fixes with Compaq cxx. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5419 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/ChangeLog | 6 ++++++ src/frontends/qt2/QBrowseBox.C | 5 +++-- src/frontends/qt2/QDocument.C | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt2/ChangeLog b/src/frontends/qt2/ChangeLog index 0732b3c656..222a443e02 100644 --- a/src/frontends/qt2/ChangeLog +++ b/src/frontends/qt2/ChangeLog @@ -1,3 +1,9 @@ +2002-10-15 Angus Leeming + + * QBrowseBox.C (c-tor): default values should go only in the .h file. + + * QDocument.C: add a using std::vector declaration. + 2002-10-15 Dekel Tsur * QLPainter.C (text): Unicode support. diff --git a/src/frontends/qt2/QBrowseBox.C b/src/frontends/qt2/QBrowseBox.C index b964d252e8..51fb7180d3 100644 --- a/src/frontends/qt2/QBrowseBox.C +++ b/src/frontends/qt2/QBrowseBox.C @@ -2,7 +2,7 @@ * \file QBrowseBox.C * * Original file taken from klyx 0.10 sources: - * $Id: QBrowseBox.C,v 1.1 2002/10/09 08:59:02 leuven Exp $ + * $Id: QBrowseBox.C,v 1.2 2002/10/15 17:45:12 leeming Exp $ * * \author Kalle Dalheimer ? * @@ -25,7 +25,8 @@ #include "QBrowseBox.h" -QBrowseBox::QBrowseBox(int rows, int cols, QWidget* parent=0 , const char* name=0 , WFlags fl=0 ) +QBrowseBox::QBrowseBox(int rows, int cols, QWidget * parent, + const char * name, WFlags fl) : QGridView() { setNumRows( rows ); diff --git a/src/frontends/qt2/QDocument.C b/src/frontends/qt2/QDocument.C index 94732b5fef..d4f2e7b89d 100644 --- a/src/frontends/qt2/QDocument.C +++ b/src/frontends/qt2/QDocument.C @@ -45,6 +45,8 @@ #include +using std::vector; + typedef Qt2CB > base_class; QDocument::QDocument()