lotuswordpro/source/filter/lwpparastyle.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 2bccbd2ba6c90d5e02285629c2b079c35260c08b Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Wed Jun 3 11:59:05 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Jun 3 17:37:41 2020 +0200 ofz#23016 Invalid-enum-value Change-Id: Ie3a783002b6ad82c6939b567cb53c3d4afbfac7b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95408 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/lotuswordpro/source/filter/lwpparastyle.cxx b/lotuswordpro/source/filter/lwpparastyle.cxx index 33b6cc37c77b..4e9871363914 100644 --- a/lotuswordpro/source/filter/lwpparastyle.cxx +++ b/lotuswordpro/source/filter/lwpparastyle.cxx @@ -385,9 +385,8 @@ void LwpParaStyle::ApplyBreaks(XFParaStyle* pParaStyle, const LwpBreaksOverride* void LwpParaStyle::ApplyAlignment(XFParaStyle* pParaStyle, const LwpAlignmentOverride* pAlign) { enumXFAlignType alignType = enumXFAlignStart; - LwpAlignmentOverride::AlignType type; + auto type = pAlign->GetAlignType(); - type = pAlign->GetAlignType(); pParaStyle->SetNumberRight(false);//to identify its align attribute switch(type) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits