diff options
Diffstat (limited to 'cui/source/tabpages/tpline.cxx')
-rw-r--r-- | cui/source/tabpages/tpline.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index 3172081f1a2c..4cb57983ca09 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -297,7 +297,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton) SvxBrushItem* pBrushItem = new SvxBrushItem(*it, "", GPOS_AREA, SID_ATTR_BRUSH); - SvxBmpItemInfo* pInfo = new SvxBmpItemInfo(); + SvxBmpItemInfo* pInfo = new SvxBmpItemInfo; pInfo->pBrushItem = pBrushItem; pInfo->nItemId = (sal_uInt16)(MN_GALLERY_ENTRY + i); if ( i < m_aGrfBrushItems.size() ) @@ -388,7 +388,7 @@ void SvxLineTabPage::InitSymbols(MenuButton* pButton) SvxBrushItem* pBrushItem = new SvxBrushItem(Graphic(aMeta), GPOS_AREA, SID_ATTR_BRUSH); - SvxBmpItemInfo* pInfo = new SvxBmpItemInfo(); + SvxBmpItemInfo* pInfo = new SvxBmpItemInfo; pInfo->pBrushItem = pBrushItem; pInfo->nItemId = (sal_uInt16)(MN_GALLERY_ENTRY + i + m_nNumMenuGalleryItems); if ( (size_t)(m_nNumMenuGalleryItems + i) < m_aGrfBrushItems.size() ) { |