summaryrefslogtreecommitdiff
path: root/sc/source/core/data/postit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/postit.cxx')
-rw-r--r--sc/source/core/data/postit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index b81d17cb6ef0..b92082ef7115 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -143,7 +143,7 @@ void ScCaptionUtil::SetDefaultItems( SdrCaptionObj& rCaption, ScDocument& rDoc,
{
/* Updates caption item set according to the passed item set while removing shadow items. */
- aItemSet.MergeValues(*pExtraItemSet);
+ aItemSet.Put(*pExtraItemSet);
// reset shadow items
aItemSet.Put( makeSdrShadowItem( false ) );
aItemSet.Put( makeSdrShadowXDistItem( 100 ) );