diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:29:14 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 11:29:14 +0000 |
commit | 3a2aef80a93259419fd72706e98bda764afc0839 (patch) | |
tree | 7fb5b7774658e7b7bef8b944a31706794c033fee /svx/source/dialog | |
parent | 9cb08ee963d1902f3d23d4e2e2cbd12502b98bb3 (diff) |
INTEGRATION: CWS sb59 (1.11.62); FILE MERGED
2006/08/18 12:02:51 sb 1.11.62.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/textanim.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/textanim.cxx b/svx/source/dialog/textanim.cxx index 3e67022eaee7..d1b8af4317bc 100644 --- a/svx/source/dialog/textanim.cxx +++ b/svx/source/dialog/textanim.cxx @@ -4,9 +4,9 @@ * * $RCSfile: textanim.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: obo $ $Date: 2006-09-17 04:43:03 $ + * last change: $Author: obo $ $Date: 2006-10-12 12:29:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -207,7 +207,7 @@ void __EXPORT SvxTextAnimationPage::Reset( const SfxItemSet& rAttrs ) if( pItem ) { eAniKind = ( ( const SdrTextAniKindItem* )pItem )->GetValue(); - aLbEffect.SelectEntryPos( eAniKind ); + aLbEffect.SelectEntryPos( sal::static_int_cast< USHORT >(eAniKind) ); } else aLbEffect.SetNoSelection(); @@ -743,7 +743,7 @@ IMPL_LINK( SvxTextAnimationPage, ClickDirectionHdl_Impl, ImageButton *, pBtn ) |* \************************************************************************/ -void SvxTextAnimationPage::SelectDirection( USHORT nValue ) +void SvxTextAnimationPage::SelectDirection( SdrTextAniDirection nValue ) { aBtnUp.Check( nValue == SDRTEXTANI_UP ); aBtnLeft.Check( nValue == SDRTEXTANI_LEFT ); |