X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxgluelength.h;h=77c53ec0d37b52a9b1c1175e9e7275ec42aeebdd;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=3749e94a996bf876543975880feb4a30b7d0eceb;hpb=282a5f041032fa21541e820d3cd7f53acad21481;p=lyx.git diff --git a/src/lyxgluelength.h b/src/lyxgluelength.h index 3749e94a99..77c53ec0d3 100644 --- a/src/lyxgluelength.h +++ b/src/lyxgluelength.h @@ -11,10 +11,6 @@ #ifndef LYX_GLUE_LENGTH_H #define LYX_GLUE_LENGTH_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "lyxlength.h" #include "LString.h" @@ -52,11 +48,8 @@ public: /// string const asLatexString() const; - - /** 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); private: /// the normal vlaue @@ -71,7 +64,8 @@ private: bool operator==(LyXGlueLength const & l1, LyXGlueLength const & l2); /// bool operator!=(LyXGlueLength const & l1, LyXGlueLength const & l2); -/// -bool isValidGlueLength(string const & data, LyXGlueLength * result); +/** If "data" is valid, the length represented by it is + stored into "result", if that is not 0. */ +bool isValidGlueLength(string const & data, LyXGlueLength * result = 0); #endif // LYXGLUELENGTH_H