+//================================================================================
+/*!
+ * \brief Deletes filters if has an ownership
+ */
+//================================================================================
+
+void SMESH_LogicalFilter::deleteFilters()
+{
+ if ( myOwnership )
+ {
+ SUIT_SelectionFilter* filter;
+ foreach( filter, myFilters )
+ delete filter;
+ }
+}