summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drtxtob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drtxtob.cxx')
-rw-r--r--sd/source/ui/view/drtxtob.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index a5694b2c5af3..bf4deae1094a 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -224,8 +224,7 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
}
else
{
- std::unique_ptr<SfxPoolItem> pNewItem(pI->CloneSetWhich(nWhich));
- aAttrSet.Put( *pNewItem );
+ aAttrSet.Put( pI->CloneSetWhich(nWhich) );
}
}
else