summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drtxtob1.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index b0fb3a17c813..210362f16de1 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -163,9 +163,8 @@ void TextObjectBar::ExecuteImpl(ViewShell* mpViewShell, ::sd::View* mpView, SfxR
}
pNewItem->SetLeftValue( static_cast<sal_uInt16>(nLeft) );
- SfxItemSet aNewAttrs( aAttr );
- aNewAttrs.Put( std::move(pNewItem) );
- pOLV->GetOutliner()->SetParaAttribs( nPara, aNewAttrs );
+ aAttr.Put( std::move(pNewItem) );
+ pOLV->GetOutliner()->SetParaAttribs( nPara, aAttr );
}
}
pOLV->GetOutliner()->UndoActionEnd();