X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxgluelength.h;h=77c53ec0d37b52a9b1c1175e9e7275ec42aeebdd;hb=09e01879979643949f1f2c7216023f1f35d5ada2;hp=8cd08966e4d4be3429e22eb5851b766f42b3ee1b;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/lyxgluelength.h b/src/lyxgluelength.h index 8cd08966e4..77c53ec0d3 100644 --- a/src/lyxgluelength.h +++ b/src/lyxgluelength.h @@ -48,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 @@ -67,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