summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-20 09:49:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-20 12:16:10 +0100
commitd7fcea6fd86d4127306333eb63ece9c8b8e26a3f (patch)
treef78ee8d22e226925bc58e88b967f7ff4999699b9 /cui/source
parent635bd7fbcb1d131627ba98fd9085dd2b11e0d33c (diff)
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>
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/tabpages/align.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index c82d07848d07..e79a39607d73 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -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;
}