diff options
-rw-r--r-- | sd/source/ui/func/fuolbull.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx index 7c9b8657f0f2..cdd8fd33ece9 100644 --- a/sd/source/ui/func/fuolbull.cxx +++ b/sd/source/ui/func/fuolbull.cxx @@ -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; |