From f17e09661e3ffc001a2ed5be0d6302debe3d109d Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 25 Sep 2019 18:33:12 +0200 Subject: tdf#127748: crash on modify a frame style, which has writing-mode bt-lr bt here: https://bugs.documentfoundation.org/attachment.cgi?id=154474 Change-Id: I6e6e0927ea85c4f0f4f59bf327ce5468fc428328 Reviewed-on: https://gerrit.libreoffice.org/79572 Tested-by: Jenkins Reviewed-by: Julien Nabet (cherry picked from commit 2a38ec580b3b6ffe11276462547a41c467a51197) Reviewed-on: https://gerrit.libreoffice.org/79582 Reviewed-by: Miklos Vajna --- editeng/source/items/frmitems.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editeng') diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 0d49c25681b6..4cb09608cf2e 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -3327,7 +3327,8 @@ const char* getFrmDirResId(size_t nIndex) RID_SVXITEMS_FRMDIR_HORI_RIGHT_TOP, RID_SVXITEMS_FRMDIR_VERT_TOP_RIGHT, RID_SVXITEMS_FRMDIR_VERT_TOP_LEFT, - RID_SVXITEMS_FRMDIR_ENVIRONMENT + RID_SVXITEMS_FRMDIR_ENVIRONMENT, + RID_SVXITEMS_FRMDIR_VERT_BOT_LEFT }; return RID_SVXITEMS_FRMDIR[nIndex]; } -- cgit v1.2.3