From cd42389ad67b403a07a0dda8e2a6e213def49251 Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Mon, 17 Jan 2011 13:20:22 +0100 Subject: removetooltypes01: #i112600# remove tooltypes from sc --- sc/source/ui/optdlg/tpcalc.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sc/source/ui/optdlg/tpcalc.cxx') diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx index 5b5920e904fc..a0ab61319e50 100644 --- a/sc/source/ui/optdlg/tpcalc.cxx +++ b/sc/source/ui/optdlg/tpcalc.cxx @@ -55,7 +55,7 @@ // STATIC DATA ----------------------------------------------------------- -static USHORT pCalcOptRanges[] = +static sal_uInt16 pCalcOptRanges[] = { SID_SCDOCOPTIONS, SID_SCDOCOPTIONS, @@ -125,7 +125,7 @@ void ScTpCalcOptions::Init() //----------------------------------------------------------------------- -USHORT* __EXPORT ScTpCalcOptions::GetRanges() +sal_uInt16* __EXPORT ScTpCalcOptions::GetRanges() { return pCalcOptRanges; } @@ -141,7 +141,7 @@ SfxTabPage* __EXPORT ScTpCalcOptions::Create( Window* pParent, const SfxItemSet& void __EXPORT ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ ) { - USHORT d,m,y; + sal_uInt16 d,m,y; *pLocalOptions = *pOldOptions; @@ -190,10 +190,10 @@ void __EXPORT ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ ) //----------------------------------------------------------------------- -BOOL __EXPORT ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs ) +sal_Bool __EXPORT ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs ) { // alle weiteren Optionen werden in den Handlern aktualisiert - pLocalOptions->SetIterCount( (USHORT)aEdSteps.GetValue() ); + pLocalOptions->SetIterCount( (sal_uInt16)aEdSteps.GetValue() ); pLocalOptions->SetIgnoreCase( !aBtnCase.IsChecked() ); pLocalOptions->SetCalcAsShown( aBtnCalc.IsChecked() ); pLocalOptions->SetMatchWholeCell( aBtnMatch.IsChecked() ); @@ -209,10 +209,10 @@ BOOL __EXPORT ScTpCalcOptions::FillItemSet( SfxItemSet& rCoreAttrs ) if ( *pLocalOptions != *pOldOptions ) { rCoreAttrs.Put( ScTpCalcItem( nWhichCalc, *pLocalOptions ) ); - return TRUE; + return sal_True; } else - return FALSE; + return sal_False; } //------------------------------------------------------------------------ @@ -285,13 +285,13 @@ IMPL_LINK( ScTpCalcOptions, CheckClickHdl, CheckBox*, pBtn ) { if ( pBtn->IsChecked() ) { - pLocalOptions->SetIter( TRUE ); + pLocalOptions->SetIter( sal_True ); aFtSteps.Enable(); aEdSteps.Enable(); aFtEps .Enable(); aEdEps .Enable(); } else { - pLocalOptions->SetIter( FALSE ); + pLocalOptions->SetIter( sal_False ); aFtSteps.Disable(); aEdSteps.Disable(); aFtEps .Disable(); aEdEps .Disable(); } -- cgit