diff options
Diffstat (limited to 'sw/source/filter/html/htmldrawreader.cxx')
-rw-r--r-- | sw/source/filter/html/htmldrawreader.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/filter/html/htmldrawreader.cxx b/sw/source/filter/html/htmldrawreader.cxx index cfaa9ece5011..7dbabfafd73e 100644 --- a/sw/source/filter/html/htmldrawreader.cxx +++ b/sw/source/filter/html/htmldrawreader.cxx @@ -238,11 +238,7 @@ static void PutEEPoolItem( SfxItemSet &rEEItemSet, } if( nEEWhich ) - { - std::unique_ptr<SfxPoolItem> pEEItem(rSwItem.Clone()); - pEEItem->SetWhich( nEEWhich ); - rEEItemSet.Put( *pEEItem ); - } + rEEItemSet.Put( rSwItem.CloneSetWhich(nEEWhich) ); } void SwHTMLParser::NewMarquee( HTMLTable *pCurTable ) |