Kaydet (Commit) c8e7d34e authored tarafından alg's avatar alg Kaydeden (comit) Thorsten Behrens

118414: applied patch, added forcing that SfxItemSet inside AttributeProperties::SetModel

 * found as LGPLv3-only fix at svn rev 1179654 (http://svn.apache.org/viewvc?view=revision&revision=1179654)
üst f82da782
...@@ -479,8 +479,9 @@ namespace sdr ...@@ -479,8 +479,9 @@ namespace sdr
} }
// each object gets the default Style if there is none set yet. // each object gets the default Style if there is none set yet.
if(mpItemSet && !GetStyleSheet() && pNewModel && !pNewModel->IsLoading()) if(!GetStyleSheet() && pNewModel && !pNewModel->IsLoading())
{ {
GetObjectItemSet(); // i#118414 force ItemSet to allow style to be set
SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True); SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True);
} }
} }
......
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