diff options
-rw-r--r-- | basctl/source/dlged/dlgedobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlgedobj.cxx b/basctl/source/dlged/dlgedobj.cxx index b313807dcb9f..2590dc74362f 100644 --- a/basctl/source/dlged/dlgedobj.cxx +++ b/basctl/source/dlged/dlgedobj.cxx @@ -1262,7 +1262,7 @@ void DlgEdForm::AddChild( DlgEdObj* pDlgEdObj ) void DlgEdForm::RemoveChild( DlgEdObj* pDlgEdObj ) { - pChildren.erase( std::find( pChildren.begin() , pChildren.end() , pDlgEdObj ) ); + pChildren.erase( std::remove( pChildren.begin() , pChildren.end() , pDlgEdObj ) ); } void DlgEdForm::PositionAndSizeChange( const beans::PropertyChangeEvent& evt ) |