X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlayout.C;h=b81ea994251c7bcc7da7ffffd2770320830d31bd;hb=80328d2053869dc089c23c25adbed4167d7bf0b1;hp=f54d8145e93a513aadaa63313667b0fa39785eaf;hpb=ef2fda75001fdb13689cb3071d3dec2c96063429;p=lyx.git diff --git a/src/lyxlayout.C b/src/lyxlayout.C index f54d8145e9..b81ea99425 100644 --- a/src/lyxlayout.C +++ b/src/lyxlayout.C @@ -451,17 +451,17 @@ bool LyXLayout::read(LyXLex & lexrc, LyXTextClass const & tclass) case LT_LABELSTRING: // label string definition if (lexrc.next()) - labelstring_ = lyx::from_ascii(trim(lexrc.getString())); + labelstring_ = trim(lexrc.getDocString()); break; case LT_ENDLABELSTRING: // endlabel string definition if (lexrc.next()) - endlabelstring_ = lyx::from_ascii(trim(lexrc.getString())); + endlabelstring_ = trim(lexrc.getDocString()); break; case LT_LABELSTRING_APPENDIX: // label string appendix definition if (lexrc.next()) - labelstring_appendix_ = lyx::from_ascii(trim(lexrc.getString())); + labelstring_appendix_ = trim(lexrc.getDocString()); break; case LT_LABELCOUNTER: // name of counter to use