diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-01-10 16:11:35 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-01-10 16:11:35 +0100 |
commit | 94d85ef550ad17efba5dec09290d0e8176a8b455 (patch) | |
tree | 41a1a79c31bd144b9374142c6259d33e2a3f5b89 /svx/source/dialog/srchctrl.cxx | |
parent | 3f4e9b4c3cd9028744ea6ed5e93c41c51a15d229 (diff) |
removetooltypes01: #i112600# remove tooltypes from svx
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 ) |