diff options
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 70a521c05323..08f7e5c04c39 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1487,13 +1487,7 @@ sal_Bool SdPageObjsTLB::NotifyMoving( } // Update the tree list. - if (pTarget == NULL) - { - rpNewParent = 0; - rNewChildPos = 0; - return sal_True; - } - else if (GetParent(pDestination) == NULL) + if (GetParent(pDestination) == NULL) { rpNewParent = pDestination; rNewChildPos = 0; |