ODF export: fix wrong definition of ODFSVER_LATEST_EXTENDED

Desktop / LibreOffice - Michael Stahl [cib.de] - 1 May 2020 19:53 EDT

The only real use of ODFSVER_LATEST_EXTENDED is as translated value of the default ODFVER_LATEST; it must match ODFSVER_012_EXTENDED which is larger than ODFSVER_LATEST | ODFSVER_EXTENDED because it *is* used in comparisons as the return value of GetODFSaneDefaultVersion(). (Guess the comment means not to use it as literal in comparisons.)

Change-Id: I6ac5e012f314e86acdcb7ac7d615c747cd7b8a52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92726

9608f72347a8 ODF export: fix wrong definition of ODFSVER_LATEST_EXTENDED
include/unotools/saveopt.hxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share