X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FSpacing.h;h=0395b3e0cf53a7d355bd260727b89f71f5cedc83;hb=2523638092e2024bac408eee98ad2094bc4e4089;hp=d164e8eb76e580d05cc11004dd62ecb26e5b9b66;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/Spacing.h b/src/Spacing.h index d164e8eb76..0395b3e0cf 100644 --- a/src/Spacing.h +++ b/src/Spacing.h @@ -1,9 +1,9 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich * Copyright 1995-2001 The LyX Team. * @@ -37,7 +37,7 @@ public: Default }; /// - Spacing() : space(Single), value(1.0) {} + Spacing() : space(Default), value(1.0) {} /// Spacing(Spacing::Space sp, float val = 1.0) { set(sp, val); @@ -63,11 +63,14 @@ public: string const writeEnvirBegin() const; /// string const writeEnvirEnd() const; + private: /// Space space; /// float value; + /// names of line spacing + static string const spacing_string[]; };