summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJürgen Schmidt <jsc@apache.org>2011-10-06 13:55:24 +0000
committerJürgen Schmidt <jsc@apache.org>2011-10-06 13:55:24 +0000
commit7588c2d493a25f7859c56a693d5c9863cccdbc6a (patch)
tree5842680f12babc53bb3b3b899b68c045745f84fa /svx
parent3e4a539165843bf54844fedebc5c6a8f3dfd2817 (diff)
118414: applied patch, added forcing that SfxItemSet inside AttributeProperties::SetModel, thanks to ALG
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/properties/attributeproperties.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx
index 39b78849ad7e..4a9a96cd4576 100644
--- a/svx/source/sdr/properties/attributeproperties.cxx
+++ b/svx/source/sdr/properties/attributeproperties.cxx
@@ -482,8 +482,9 @@ namespace sdr
}
// each object gets the default Style if there is none set yet.
- if(mpItemSet && !GetStyleSheet() && pNewModel && !pNewModel->IsLoading())
+ if(!GetStyleSheet() && pNewModel && !pNewModel->IsLoading())
{
+ GetObjectItemSet(); // #118414# force ItemSet to allow style to be set
SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True);
}
}