~lyx-outline-devel/lyx/lyx-stable.20x

Viewing all changes in revision 29440.

  • Committer: Richard Heck
  • Author(s): Georg Baum
  • Date: 2014-04-28 13:59:11 UTC
  • Revision ID: git-v1:a87c56b5adb7f78dc511e8681875ad8481eb861c
Fix warning in lyx2lyx 2.0<->2.1 round trip

revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.
(cherry picked from commit e754d00faa71a8950de8582fb0f38f6fb270ac38)

Conflicts:
        status.21x

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: