[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 3 15:38:18 UTC 2020
lotuswordpro/source/filter/lwpparastyle.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 2bccbd2ba6c90d5e02285629c2b079c35260c08b
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 3 11:59:05 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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)
{
More information about the Libreoffice-commits
mailing list