Hi,
I have attached a trivial code removal with this mail.
I read the code, (since pUndoSet is set to null in the very constructor,
I guess this if() would never get executed), but, I could have missed
something here - hence the need for review.
Thank you so much!
Muthu Subramanian
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index b746813..f094add 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -317,11 +317,6 @@ SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool bStyleSheet1, bool bSave
if(!bIsGroup || bIs3DScene)
{
- if(pUndoSet)
- {
- delete pUndoSet;
- }
-
pUndoSet = new SfxItemSet(pObj->GetMergedItemSet());
if(bStyleSheet)
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice