diff options
author | Andre Fischer <af@openoffice.org> | 2009-03-05 12:44:27 +0000 |
---|---|---|
committer | Andre Fischer <af@openoffice.org> | 2009-03-05 12:44:27 +0000 |
commit | a7af6ce58f6969da81fd5b65d1ec75c0e02c46c3 (patch) | |
tree | f55dfffb70871f5262ff9fec1a010d5bb7cc2c2b /sd | |
parent | 268c5a727b274916e0a0cc4bd61c3ed892a0b224 (diff) |
#i99916# Prevent infinite recursion.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationCreateDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx index cdb894984edd..ce651b2965be 100644 --- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx @@ -183,15 +183,15 @@ IMPL_LINK( CategoryListBox, implDoubleClickHdl, Control*, EMPTYARG ) void CategoryListBox::MouseButtonUp( const MouseEvent& rMEvt ) { + ReleaseMouse(); if( rMEvt.IsLeft() && (rMEvt.GetClicks() == 2) ) { - ReleaseMouse(); if( maDoubleClickHdl.IsSet() ) maDoubleClickHdl.Call( this ); } else { - CategoryListBox::MouseButtonUp( rMEvt ); + ListBox::MouseButtonUp( rMEvt ); } } |