tdf#126656 Remove unnecessary items from itemset.
Change-Id: I62fc660ea061fe9665e0166a08871ba0a592fc41 Reviewed-on: https://gerrit.libreoffice.org/78332 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
This commit is contained in:
@@ -81,8 +81,14 @@ void FuBulletAndPosition::DoExecute( SfxRequest& rReq )
|
||||
SfxItemSet aEditAttr( mpDoc->GetPool() );
|
||||
mpView->GetAttributes( aEditAttr );
|
||||
|
||||
SfxItemSet aNewAttr( mpViewShell->GetPool(),
|
||||
svl::Items<EE_ITEMS_START, EE_ITEMS_END>{} );
|
||||
static const sal_uInt16 aAttrMap[] =
|
||||
{
|
||||
EE_PARA_NUMBULLET,
|
||||
EE_PARA_BULLET,
|
||||
0
|
||||
};
|
||||
|
||||
SfxItemSet aNewAttr( mpViewShell->GetPool(), aAttrMap );
|
||||
aNewAttr.Put( aEditAttr, false );
|
||||
|
||||
auto pView = mpView;
|
||||
|
||||
Reference in New Issue
Block a user