svx/source/svdraw/svdedxv.cxx | 3 --- 1 file changed, 3 deletions(-) New commits: commit 5f992758ef274304b296559dd3b3785b20601a90 Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Mar 25 22:27:39 2013 +0100
coverity#704327 Logically dead code Change-Id: Ied464d57c7895fdf1d9e74e7f89d70bac2834d9e diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index fe3bd3c..06c3640 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -1396,7 +1396,6 @@ sal_Bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, sal_Bool bReplace sal_Bool bRet=sal_False; sal_Bool bTextEdit=pTextEditOutlinerView!=NULL && mxTextEditObj.is(); sal_Bool bAllTextSelected=ImpIsTextEditAllSelected(); - SfxItemSet* pModifiedSet=NULL; const SfxItemSet* pSet=&rSet; if (!bTextEdit) @@ -1537,8 +1536,6 @@ sal_Bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, sal_Bool bReplace } bRet=sal_True; } - if (pModifiedSet!=NULL) - delete pModifiedSet; return bRet; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits