X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fvspace.h;h=5c61edc10157518e70fb5e271921914393c9f732;hb=617cfbe80f7dca3cab8de7b13f076393b465e11a;hp=c33233d602822547c646c59c41f11503157247be;hpb=0eccdd1c3613e5170deb77b22174dd0afde833e9;p=lyx.git diff --git a/src/vspace.h b/src/vspace.h index c33233d602..5c61edc101 100644 --- a/src/vspace.h +++ b/src/vspace.h @@ -1,13 +1,13 @@ // -*- C++ -*- /* This file is part of - * ====================================================== + * ====================================================== * * LyX, The Document Processor * * Copyright (C) 1995 1996 Matthias Ettrich * and the LyX Team. * - *======================================================*/ + * ====================================================== */ #ifndef VSPACE_H #define VSPACE_H @@ -17,6 +17,7 @@ #endif #include +#include "LString.h" /// LyXLength Class class LyXLength { @@ -70,7 +71,7 @@ public: //@} /// - bool operator==(LyXLength const &) const; + bool operator== (LyXLength const &) const; /// conversion virtual string asString() const; @@ -81,7 +82,7 @@ public: /** If "data" is valid, the length represented by it is stored into "result", if that is not 0. */ friend bool isValidLength(string const & data, - LyXLength * result=0); + LyXLength * result= 0); protected: /// @@ -100,8 +101,8 @@ public: //@{ /// LyXGlueLength(float v, LyXLength::UNIT u, - float pv=0.0, LyXLength::UNIT pu=LyXLength::UNIT_NONE, - float mv=0.0, LyXLength::UNIT mu=LyXLength::UNIT_NONE) + float pv= 0.0, LyXLength::UNIT pu= LyXLength::UNIT_NONE, + float mv= 0.0, LyXLength::UNIT mu= LyXLength::UNIT_NONE) : LyXLength (v, u), plus_val(pv), minus_val(mv), plus_uni(pu), minus_uni(mu) {} @@ -128,7 +129,7 @@ public: //@} /// - bool operator==(LyXGlueLength const &) const; + bool operator == (LyXGlueLength const &) const; /// conversion virtual string asString() const; @@ -139,7 +140,7 @@ public: /** If "data" is valid, the length represented by it is stored into "result", if that is not 0. */ friend bool isValidGlueLength(string const & data, - LyXGlueLength* result=0); + LyXGlueLength* result= 0); protected: /// @@ -191,7 +192,7 @@ public: /// void setKeep(bool val) { kp = val; } /// - bool operator==(VSpace const &) const; + bool operator == (VSpace const &) const; // conversion /// @@ -210,5 +211,3 @@ private: }; #endif - -