summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-20 09:49:12 +0000
committerXisco Faulí <xiscofauli@libreoffice.org>2019-11-20 15:47:55 +0100
commit65d1f709d06bbb51d23962dfe6c13ade04476592 (patch)
tree740719d4927bdbf3a30bd6c75e11f46fea3cc155
parent657e31281cbf7a03bdbc8fff67020de66084d8be (diff)
Resolves: tdf#128811 Alignment option "Distributed" not working in calc
Change-Id: I605b62ef0dfa29db93e4d7df8285a05a12bda8e3 Reviewed-on: https://gerrit.libreoffice.org/83272 Tested-by: Jenkins Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
-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 42a271028cf9..b4f1a2b9ad73 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -201,6 +201,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:
@@ -235,6 +236,7 @@ bool AlignmentTabPage::FillItemSet( SfxItemSet* rSet )
eJustify = SvxCellVerJustify::Bottom;
break;
case ALIGNDLG_VERALIGN_BLOCK:
+ case ALIGNDLG_VERALIGN_DISTRIBUTED:
eJustify = SvxCellVerJustify::Block;
break;
}