diff options
author | Muthu Subramanian <sumuthu@suse.com> | 2011-11-19 16:19:32 +0530 |
---|---|---|
committer | Muthu Subramanian <sumuthu@suse.com> | 2011-11-19 16:19:32 +0530 |
commit | ea07e59bb9c49c67881b514ad5932fdd89218a70 (patch) | |
tree | 5aa2ef3b150a32910131ff3baefd0c05c260a356 /svx | |
parent | 89a783cde071d63120bfa63768b4680dd2e58fee (diff) |
Removing unreachable code.
pUndoSet is set to NULL at the beginning of the method.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdundo.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx index 154713da5873..5922779c19ab 100644 --- a/svx/source/svdraw/svdundo.cxx +++ b/svx/source/svdraw/svdundo.cxx @@ -305,11 +305,6 @@ SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool bStyleSheet1, bool bSave if(!bIsGroup || bIs3DScene) { - if(pUndoSet) - { - delete pUndoSet; - } - pUndoSet = new SfxItemSet(pObj->GetMergedItemSet()); if(bStyleSheet) |