summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/func/smarttag.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/sd/source/ui/func/smarttag.cxx b/sd/source/ui/func/smarttag.cxx
index 3468e9125ee6..a08a47c5cd93 100644
--- a/sd/source/ui/func/smarttag.cxx
+++ b/sd/source/ui/func/smarttag.cxx
@@ -276,11 +276,8 @@ bool SmartTagSet::Command( const CommandEvent& rCEvt )
void SmartTagSet::addCustomHandles( SdrHdlList& rHandlerList )
{
- if( !maSet.empty() )
- {
- for( std::set< SmartTagReference >::iterator aIter( maSet.begin() ); aIter != maSet.end(); )
- (*aIter++)->addCustomHandles( rHandlerList );
- }
+ for( std::set< SmartTagReference >::iterator aIter( maSet.begin() ); aIter != maSet.end(); )
+ (*aIter++)->addCustomHandles( rHandlerList );
}
/** returns true if the currently selected smart tag has