diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/filtnav.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/nbdtmg.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 3591a25cc18e..6ef160d87a0f 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -142,7 +142,7 @@ FmParentData::~FmParentData() { for (::std::vector<FmFilterData*>::const_iterator i = m_aChildren.begin(); i != m_aChildren.end(); ++i) - delete (*i); + delete *i; } Image FmFormItem::GetImage() const @@ -509,7 +509,7 @@ void FmFilterModel::Clear() for (::std::vector<FmFilterData*>::const_iterator i = m_aChildren.begin(); i != m_aChildren.end(); ++i) - delete (*i); + delete *i; m_aChildren.clear(); } diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index a4b65b5297aa..219ced254d44 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -617,7 +617,7 @@ bool Gallery::CreateTheme( const OUString& rThemeName ) false, true, 0, false ); aThemeList.push_back( pNewEntry ); - delete( new GalleryTheme( this, pNewEntry ) ); + delete new GalleryTheme( this, pNewEntry ); Broadcast( GalleryHint( GalleryHintType::THEME_CREATED, rThemeName ) ); bRet = true; } diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 6b9f2405a7d8..a9fcb50a9673 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -735,7 +735,7 @@ void OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI pItemArr->bIsCustomized = true; }else if ((eNumType&(~LINK_TOKEN)) == SVX_NUM_BITMAP ) { if (_pSet->pBrushItem) { - delete (_pSet->pBrushItem); + delete _pSet->pBrushItem; _pSet->pBrushItem=nullptr; } if (aFmt.GetBrush()) diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 854d445f83fd..9361d3620fbf 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -714,7 +714,7 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& rPaintWindow, bool bPaintFo if(rPaintWindow.getTemporaryTarget()) { // get rid of temp target again - delete (&rPaintWindow); + delete &rPaintWindow; } else { diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 1fd2aca90d1d..ecc2c78d90dd 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -1420,7 +1420,7 @@ SdrUndoPageList::~SdrUndoPageList() { if(bItsMine) { - delete (&mrPage); + delete &mrPage; } } |