Kaydet (Commit) 3003c27d authored tarafından Julien Nabet's avatar Julien Nabet

tdf#115269: fix crash when changing horizontal align (reportdesign)

See bt:
https://bugs.documentfoundation.org/attachment.cgi?id=139403

Regression from
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=00657aef09d854c74fb426a935a3e8b1fc390bb0

Change-Id: Id23dbbec7dd93a603d906b5d8f7bbf74d14e1d65
Reviewed-on: https://gerrit.libreoffice.org/48765Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst f7c4c631
......@@ -1257,7 +1257,7 @@ uno::Any SAL_CALL GeometryHandler::convertToControlValue(const OUString & Proper
sal_Int16 nParagraphAdjust = sal_Int16(style::ParagraphAdjust_LEFT);
aPropertyValue >>= nParagraphAdjust;
if (static_cast<sal_uInt32>(nParagraphAdjust) < SAL_N_ELEMENTS(RID_STR_PARAADJUST_CONST) - 1)
aControlValue <<= RptResId(RID_STR_VERTICAL_ALIGN_CONST[nParagraphAdjust]);
aControlValue <<= RptResId(RID_STR_PARAADJUST_CONST[nParagraphAdjust]);
}
break;
case PROPERTY_ID_BACKCOLOR:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment