Update ooo320-m1
[ooovba.git] / applied_patches / 0567-sd-customanimation-defbutton.diff
blobf8c211ab2c1972d72aaefcdf7cddecb14014d3a9
1 Set default button for custom animation create dlg
3 From: Thorsten Behrens <thb@openoffice.org>
6 ---
8 .../ui/animations/CustomAnimationCreateDialog.cxx | 2 ++
9 1 files changed, 2 insertions(+), 0 deletions(-)
12 diff --git sd/source/ui/animations/CustomAnimationCreateDialog.cxx sd/source/ui/animations/CustomAnimationCreateDialog.cxx
13 index e56e33b..0662786 100644
14 --- sd/source/ui/animations/CustomAnimationCreateDialog.cxx
15 +++ sd/source/ui/animations/CustomAnimationCreateDialog.cxx
16 @@ -535,7 +535,9 @@ CustomAnimationCreateDialog::CustomAnimationCreateDialog( Window* pParent, Custo
18 mpTabControl = new TabControl( this, SdResId( 1 ) );
19 mpOKButton = new OKButton(this, SdResId( 1 ) ) ;
20 + mpOKButton->SetStyle(WB_DEFBUTTON);
21 mpCancelButton = new CancelButton(this, SdResId( 1 ) );
22 + mpCancelButton->SetStyle(WB_DEFBUTTON);
23 mpHelpButton = new HelpButton(this, SdResId( 1 ) );
25 FreeResource();