]> git.lyx.org Git - lyx.git/blobdiff - src/Spacing.h
Remove unused font variable which caused a warning.
[lyx.git] / src / Spacing.h
index 98f9463250fe4979d03906f0b7ac221aea6bb09e..d164e8eb76e580d05cc11004dd62ecb26e5b9b66 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -39,6 +39,13 @@ public:
        ///
        Spacing() : space(Single), value(1.0) {}
        ///
+       Spacing(Spacing::Space sp, float val = 1.0) {
+               set(sp, val);
+       }
+       Spacing(Spacing::Space sp, string const & val) {
+               set(sp, val);
+       }
+       ///
        bool isDefault() const {
                return space == Default;
        }