mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Simplify InsetRef::forToc().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36978 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8bfcb23ef2
commit
a2111a1c50
@ -239,9 +239,9 @@ void InsetRef::toString(odocstream & os) const
|
||||
|
||||
void InsetRef::forToc(docstring & os, size_t) const
|
||||
{
|
||||
odocstringstream ods;
|
||||
plaintext(ods, OutputParams(0));
|
||||
os += ods.str();
|
||||
// There's no need for details in the TOC, and a long label
|
||||
// will just get in the way.
|
||||
os += '#';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user