diff options
Diffstat (limited to 'svx/source/tbxctrls/verttexttbxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/verttexttbxctrl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/source/tbxctrls/verttexttbxctrl.cxx b/svx/source/tbxctrls/verttexttbxctrl.cxx index 14ffdc778361..6f437dfb791e 100644 --- a/svx/source/tbxctrls/verttexttbxctrl.cxx +++ b/svx/source/tbxctrls/verttexttbxctrl.cxx @@ -42,22 +42,22 @@ SFX_IMPL_TOOLBOX_CONTROL(SvxVertTextTbxCtrl, SfxBoolItem); // -----------------------------27.04.01 15:50-------------------------------- -SvxCTLTextTbxCtrl::SvxCTLTextTbxCtrl(USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : +SvxCTLTextTbxCtrl::SvxCTLTextTbxCtrl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx ) { - SetVert(FALSE); + SetVert(sal_False); addStatusListener( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:CTLFontState" ))); } -SvxVertTextTbxCtrl::SvxVertTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : +SvxVertTextTbxCtrl::SvxVertTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SvxVertCTLTextTbxCtrl( nSlotId, nId, rTbx ) { - SetVert(TRUE); + SetVert(sal_True); addStatusListener( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:VerticalTextState" ))); } /* ---------------------------------------------------------------------------*/ -SvxVertCTLTextTbxCtrl::SvxVertCTLTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx ) : +SvxVertCTLTextTbxCtrl::SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SfxToolBoxControl( nSlotId, nId, rTbx ), bCheckVertical(sal_True) { @@ -73,13 +73,13 @@ SvxVertCTLTextTbxCtrl::~SvxVertCTLTextTbxCtrl( ) ---------------------------------------------------------------------------*/ void SvxVertCTLTextTbxCtrl::StateChanged( - USHORT nSID, + sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) { SvtLanguageOptions aLangOptions; - BOOL bCalc = sal_False; - BOOL bVisible = GetToolBox().IsItemVisible(GetId()); + sal_Bool bCalc = sal_False; + sal_Bool bVisible = GetToolBox().IsItemVisible(GetId()); sal_Bool bEnabled = sal_False; if ( nSID == SID_VERTICALTEXT_STATE ) bEnabled = aLangOptions.IsVerticalTextEnabled(); @@ -95,7 +95,7 @@ void SvxVertCTLTextTbxCtrl::StateChanged( { if(!bVisible) { - GetToolBox().ShowItem( GetId(), TRUE ); + GetToolBox().ShowItem( GetId(), sal_True ); bCalc = sal_True; } } |