diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-12 14:39:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:06 +0200 |
commit | c42a313e62575f00176e8e24d058100a218a99e6 (patch) | |
tree | a6992e13765f3fed5eafe17273327f305aad970e | |
parent | 17d6281835fdfba8c20dd93afc7c32287f473565 (diff) |
sal_Bool->bool
Change-Id: I76eed896e03798adaab1765c99046034c554de1e
-rw-r--r-- | sc/inc/viewopti.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/starcalc/scflt.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx index 0277a1e86d04..7ebb3b624dac 100644 --- a/sc/inc/viewopti.hxx +++ b/sc/inc/viewopti.hxx @@ -85,7 +85,7 @@ public: void SetDefaults(); - void SetOption( ScViewOption eOpt, sal_Bool bNew = sal_True ) { aOptArr[eOpt] = bNew; } + void SetOption( ScViewOption eOpt, bool bNew = true ) { aOptArr[eOpt] = bNew; } bool GetOption( ScViewOption eOpt ) const { return aOptArr[eOpt]; } void SetObjMode( ScVObjType eObj, ScVObjMode eMode ) { aModeArr[eObj] = eMode; } diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx index f7dd30e39d48..2fd9bd6ce399 100644 --- a/sc/source/filter/starcalc/scflt.cxx +++ b/sc/source/filter/starcalc/scflt.cxx @@ -1458,10 +1458,10 @@ void Sc10Import::LoadTables() aSc30ViewOpt.SetOption( VOPT_NULLVALS, IS_SET(dfZerro,Display) ); aSc30ViewOpt.SetOption( VOPT_SYNTAX, IS_SET(dfSyntax,Display) ); aSc30ViewOpt.SetOption( VOPT_NOTES, IS_SET(dfNoteMark,Display) ); - aSc30ViewOpt.SetOption( VOPT_VSCROLL, sal_True ); - aSc30ViewOpt.SetOption( VOPT_HSCROLL, sal_True ); - aSc30ViewOpt.SetOption( VOPT_TABCONTROLS, sal_True ); - aSc30ViewOpt.SetOption( VOPT_OUTLINER, sal_True ); + aSc30ViewOpt.SetOption( VOPT_VSCROLL, true ); + aSc30ViewOpt.SetOption( VOPT_HSCROLL, true ); + aSc30ViewOpt.SetOption( VOPT_TABCONTROLS, true ); + aSc30ViewOpt.SetOption( VOPT_OUTLINER, true ); aSc30ViewOpt.SetOption( VOPT_GRID, IS_SET(dfGrid,Display) ); // VOPT_HEADER wird in LoadViewColRowBar() gesetzt |