]> git.lyx.org Git - lyx.git/commit
Make use of otexstream also in external::writeExternal
authorEnrico Forestieri <forenr@lyx.org>
Fri, 16 May 2014 12:21:48 +0000 (14:21 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 16 May 2014 12:40:09 +0000 (14:40 +0200)
commit15e1f5eb39951351cc50beec9e1db21b74535e13
tree2771a37bc827f27efeb6de9638a332263e8a5819
parent371fdb864994e2a986315e26538323df4dbdfad6
Make use of otexstream also in external::writeExternal

This was not necessary when LyX was generously outputting newlines.
As it may happen that the output produced by writeExternal (the
result of an external inset) starts right at the beginning of a
line, if otexstream does not know that something is already on
the line, the iomanip-like variable 'breakln' fails to actually
break the line.
src/insets/ExternalSupport.cpp
src/insets/ExternalSupport.h
src/insets/InsetExternal.cpp