summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpcalc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpcalc.cxx')
-rw-r--r--sc/source/ui/optdlg/tpcalc.cxx54
1 files changed, 27 insertions, 27 deletions
diff --git a/sc/source/ui/optdlg/tpcalc.cxx b/sc/source/ui/optdlg/tpcalc.cxx
index 7d56184d014e..cf8f19720300 100644
--- a/sc/source/ui/optdlg/tpcalc.cxx
+++ b/sc/source/ui/optdlg/tpcalc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,39 +65,39 @@ static USHORT pCalcOptRanges[] =
//========================================================================
-ScTpCalcOptions::ScTpCalcOptions( Window* pParent,
+ScTpCalcOptions::ScTpCalcOptions( Window* pParent,
const SfxItemSet& rCoreAttrs )
- : SfxTabPage ( pParent,
+ : SfxTabPage ( pParent,
ScResId( RID_SCPAGE_CALC ),
rCoreAttrs ),
- aGbZRefs ( this, ScResId( GB_ZREFS ) ),
- aBtnIterate ( this, ScResId( BTN_ITERATE ) ),
- aFtSteps ( this, ScResId( FT_STEPS ) ),
- aEdSteps ( this, ScResId( ED_STEPS ) ),
- aFtEps ( this, ScResId( FT_EPS ) ),
- aEdEps ( this, ScResId( ED_EPS ) ),
+ aGbZRefs ( this, ScResId( GB_ZREFS ) ),
+ aBtnIterate ( this, ScResId( BTN_ITERATE ) ),
+ aFtSteps ( this, ScResId( FT_STEPS ) ),
+ aEdSteps ( this, ScResId( ED_STEPS ) ),
+ aFtEps ( this, ScResId( FT_EPS ) ),
+ aEdEps ( this, ScResId( ED_EPS ) ),
aSeparatorFL ( this, ScResId( FL_SEPARATOR ) ),
- aGbDate ( this, ScResId( GB_DATE ) ),
- aBtnDateStd ( this, ScResId( BTN_DATESTD ) ),
- aBtnDateSc10 ( this, ScResId( BTN_DATESC10 ) ),
- aBtnDate1904 ( this, ScResId( BTN_DATE1904 ) ),
+ aGbDate ( this, ScResId( GB_DATE ) ),
+ aBtnDateStd ( this, ScResId( BTN_DATESTD ) ),
+ aBtnDateSc10 ( this, ScResId( BTN_DATESC10 ) ),
+ aBtnDate1904 ( this, ScResId( BTN_DATE1904 ) ),
aHSeparatorFL ( this, ScResId( FL_H_SEPARATOR ) ),
- aBtnCase ( this, ScResId( BTN_CASE ) ),
- aBtnCalc ( this, ScResId( BTN_CALC ) ),
- aBtnMatch ( this, ScResId( BTN_MATCH ) ),
+ aBtnCase ( this, ScResId( BTN_CASE ) ),
+ aBtnCalc ( this, ScResId( BTN_CALC ) ),
+ aBtnMatch ( this, ScResId( BTN_MATCH ) ),
aBtnRegex ( this, ScResId( BTN_REGEX ) ),
- aBtnLookUp ( this, ScResId( BTN_LOOKUP ) ),
+ aBtnLookUp ( this, ScResId( BTN_LOOKUP ) ),
aBtnGeneralPrec ( this, ScResId( BTN_GENERAL_PREC ) ),
- aFtPrec ( this, ScResId( FT_PREC ) ),
- aEdPrec ( this, ScResId( ED_PREC ) ),
- pOldOptions ( new ScDocOptions(
+ aFtPrec ( this, ScResId( FT_PREC ) ),
+ aEdPrec ( this, ScResId( ED_PREC ) ),
+ pOldOptions ( new ScDocOptions(
((const ScTpCalcItem&)rCoreAttrs.Get(
GetWhich( SID_SCDOCOPTIONS ))).
GetDocOptions() ) ),
- pLocalOptions ( new ScDocOptions ),
- nWhichCalc ( GetWhich( SID_SCDOCOPTIONS ) )
+ pLocalOptions ( new ScDocOptions ),
+ nWhichCalc ( GetWhich( SID_SCDOCOPTIONS ) )
{
aSeparatorFL.SetStyle( aSeparatorFL.GetStyle() | WB_VERT );
Init();
@@ -142,9 +142,9 @@ SfxTabPage* __EXPORT ScTpCalcOptions::Create( Window* pParent, const SfxItemSet&
void __EXPORT ScTpCalcOptions::Reset( const SfxItemSet& /* rCoreAttrs */ )
{
- USHORT d,m,y;
+ USHORT d,m,y;
- *pLocalOptions = *pOldOptions;
+ *pLocalOptions = *pOldOptions;
aBtnCase .Check( !pLocalOptions->IsIgnoreCase() );
aBtnCalc .Check( pLocalOptions->IsCalcAsShown() );
@@ -287,14 +287,14 @@ IMPL_LINK( ScTpCalcOptions, CheckClickHdl, CheckBox*, pBtn )
if ( pBtn->IsChecked() )
{
pLocalOptions->SetIter( TRUE );
- aFtSteps.Enable(); aEdSteps.Enable();
- aFtEps .Enable(); aEdEps .Enable();
+ aFtSteps.Enable(); aEdSteps.Enable();
+ aFtEps .Enable(); aEdEps .Enable();
}
else
{
pLocalOptions->SetIter( FALSE );
aFtSteps.Disable(); aEdSteps.Disable();
- aFtEps .Disable(); aEdEps .Disable();
+ aFtEps .Disable(); aEdEps .Disable();
}
}