diff options
Diffstat (limited to 'svx/source/form/navigatortree.cxx')
-rw-r--r-- | svx/source/form/navigatortree.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index 82747e00acf0..72ca4f43a4bf 100644 --- a/svx/source/form/navigatortree.cxx +++ b/svx/source/form/navigatortree.cxx @@ -660,8 +660,7 @@ namespace svxform // but because I disabled SelectionHandling, I have to do it later sal_uIntPtr nExpectedSelectionCount = GetSelectionCount(); - if( pEntry ) - GetModel()->Remove( pEntry ); + GetModel()->Remove(pEntry); if (nExpectedSelectionCount != GetSelectionCount()) SynchronizeSelection(); |