Resolves: tdf#128811 Alignment option "Distributed" not working in calc

Change-Id: I605b62ef0dfa29db93e4d7df8285a05a12bda8e3
Reviewed-on: https://gerrit.libreoffice.org/83270
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2019-11-20 09:49:12 +00:00
parent 635bd7fbcb
commit d7fcea6fd8

View File

@@ -187,6 +187,7 @@ bool AlignmentTabPage::FillItemSet( SfxItemSet* rSet )
eJustify = SvxCellHorJustify::Right;
break;
case ALIGNDLG_HORALIGN_BLOCK:
case ALIGNDLG_HORALIGN_DISTRIBUTED:
eJustify = SvxCellHorJustify::Block;
break;
case ALIGNDLG_HORALIGN_FILL:
@@ -221,6 +222,7 @@ bool AlignmentTabPage::FillItemSet( SfxItemSet* rSet )
eJustify = SvxCellVerJustify::Bottom;
break;
case ALIGNDLG_VERALIGN_BLOCK:
case ALIGNDLG_VERALIGN_DISTRIBUTED:
eJustify = SvxCellVerJustify::Block;
break;
}