]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.C
remove unused code
[lyx.git] / src / lyxtextclass.C
index 271c9dd3cce6acf1458d7862b2c04b1bf1e6e2a8..a86ef7e28dd5b58ca5dfed66838d95d36416b3bf 100644 (file)
@@ -253,7 +253,7 @@ bool LyXTextClass::Read(string const & filename, bool merge)
 
                case TC_PAGESTYLE:
                        lexrc.next();
-                       pagestyle_ = strip(lexrc.getString());
+                       pagestyle_ = rtrim(lexrc.getString());
                        break;
 
                case TC_DEFAULTFONT:
@@ -476,11 +476,11 @@ void LyXTextClass::readClassOptions(LyXLex & lexrc)
                switch (static_cast<ClassOptionsTags>(le)) {
                case CO_FONTSIZE:
                        lexrc.next();
-                       opt_fontsize_ = strip(lexrc.getString());
+                       opt_fontsize_ = rtrim(lexrc.getString());
                        break;
                case CO_PAGESTYLE:
                        lexrc.next();
-                       opt_pagestyle_ = strip(lexrc.getString());
+                       opt_pagestyle_ = rtrim(lexrc.getString());
                        break;
                case CO_OTHER:
                        lexrc.next();