mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-08 18:19:42 +00:00
* src/insets/insetcommand.C: fix plaintext() output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17277 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e8084b3109
commit
80328d2053
@ -17,6 +17,7 @@
|
||||
#include "dispatchresult.h"
|
||||
#include "funcrequest.h"
|
||||
#include "FuncStatus.h"
|
||||
#include "gettext.h"
|
||||
#include "lyxlex.h"
|
||||
#include "metricsinfo.h"
|
||||
|
||||
@ -91,10 +92,12 @@ int InsetCommand::latex(Buffer const &, odocstream & os,
|
||||
}
|
||||
|
||||
|
||||
int InsetCommand::plaintext(Buffer const &, odocstream &,
|
||||
int InsetCommand::plaintext(Buffer const &, odocstream & os,
|
||||
OutputParams const &) const
|
||||
{
|
||||
return 0;
|
||||
docstring str = "[" + _("LaTeX Command: ") + from_utf8(getCmdName()) + "]";
|
||||
os << str;
|
||||
return str.size();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user