mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23304 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
49eebd7b08
commit
a6f8f273e9
@ -197,7 +197,7 @@ BaseClassList::addTextClass(string const & textclass, string const & path)
|
|||||||
// look for the \DeclareXXXClass line
|
// look for the \DeclareXXXClass line
|
||||||
smatch sub;
|
smatch sub;
|
||||||
if (regex_match(line, sub, reg)) {
|
if (regex_match(line, sub, reg)) {
|
||||||
// returns: whole string, classtype (not used here), first option, description
|
// returns: whole string, classtype (not used here), class name, description
|
||||||
BOOST_ASSERT(sub.size() == 4);
|
BOOST_ASSERT(sub.size() == 4);
|
||||||
// now, create a TextClass with description containing path information
|
// now, create a TextClass with description containing path information
|
||||||
TextClass tmpl(textclass, sub.str(2) == "" ? textclass : sub.str(2),
|
TextClass tmpl(textclass, sub.str(2) == "" ? textclass : sub.str(2),
|
||||||
|
Loading…
Reference in New Issue
Block a user