diff options
Diffstat (limited to 'svx/source/dialog/srchctrl.cxx')
-rw-r--r-- | svx/source/dialog/srchctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/srchctrl.cxx b/svx/source/dialog/srchctrl.cxx index 479888463a5c..fe60ac939811 100644 --- a/svx/source/dialog/srchctrl.cxx +++ b/svx/source/dialog/srchctrl.cxx @@ -47,7 +47,7 @@ SvxSearchController::SvxSearchController ( - USHORT _nId, + sal_uInt16 _nId, SfxBindings& rBind, SvxSearchDialog& rDlg ) : @@ -59,7 +59,7 @@ SvxSearchController::SvxSearchController // ----------------------------------------------------------------------- -void SvxSearchController::StateChanged( USHORT nSID, SfxItemState eState, +void SvxSearchController::StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) { if ( SFX_ITEM_AVAILABLE == eState ) @@ -74,7 +74,7 @@ void SvxSearchController::StateChanged( USHORT nSID, SfxItemState eState, else if ( SID_SEARCH_OPTIONS == nSID ) { DBG_ASSERT( pState->ISA(SfxUInt16Item), "wrong item type" ); - USHORT nFlags = (USHORT)( (SfxUInt16Item*)pState )->GetValue(); + sal_uInt16 nFlags = (sal_uInt16)( (SfxUInt16Item*)pState )->GetValue(); rSrchDlg.EnableControls_Impl( nFlags ); } else if ( SID_SEARCH_ITEM == nSID ) |