diff options
-rw-r--r-- | svx/source/sdr/properties/attributeproperties.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sdr/properties/attributeproperties.cxx b/svx/source/sdr/properties/attributeproperties.cxx index 9edc2a430498..cece99f570db 100644 --- a/svx/source/sdr/properties/attributeproperties.cxx +++ b/svx/source/sdr/properties/attributeproperties.cxx @@ -479,8 +479,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(); // i#118414 force ItemSet to allow style to be set SetStyleSheet(pNewModel->GetDefaultStyleSheet(), sal_True); } } |