Kaydet (Commit) 0baec970 authored tarafından Miklos Vajna's avatar Miklos Vajna

SwTextBoxHelper::syncProperty(): avoid crash on not-yet-inserted shape

Change-Id: I3308ba685b4066ea6849e8002e9d98cc5264c368
üst f1ada85a
......@@ -105,6 +105,10 @@ uno::Any SwTextBoxHelper::getXTextAppend(SwFrmFmt* pShape, const uno::Type& rTyp
void SwTextBoxHelper::syncProperty(SwFrmFmt* pShape, sal_uInt16 nWID, sal_uInt8 nMemberId, const OUString& rPropertyName, const css::uno::Any& rValue)
{
// No shape yet? Then nothing to do, initial properties are set by create().
if (!pShape)
return;
uno::Any aValue(rValue);
nMemberId &= ~CONVERT_TWIPS;
......
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