diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-23 11:08:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:11:51 +0200 |
commit | 6dda3d45c902d64323a085ea1604a993521f313d (patch) | |
tree | 9b964839510ac36762733bd99951539040f8ffc0 /sc/source/ui/unoobj/confuno.cxx | |
parent | e32da7783686f088fa83cdae209bcf1c81d82f1e (diff) |
sc: sal_Bool->bool
Change-Id: I70aad0b38979f45a313b8ac36890fb6c64d11bb0
Diffstat (limited to 'sc/source/ui/unoobj/confuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/confuno.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx index 717ff353358f..2c64691dbc84 100644 --- a/sc/source/ui/unoobj/confuno.cxx +++ b/sc/source/ui/unoobj/confuno.cxx @@ -129,7 +129,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue( ScDocument* pDoc = pDocShell->GetDocument(); if (pDoc) { - sal_Bool bUpdateHeights = false; + bool bUpdateHeights = false; ScViewOptions aViewOpt(pDoc->GetViewOptions()); @@ -216,7 +216,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue( } else if ( aPropertyName.equalsAscii( SC_UNO_APPLYDOCINF ) ) { - sal_Bool bTmp=sal_True; + bool bTmp=true; if ( aValue >>= bTmp ) pDocShell->SetUseUserData( bTmp ); } @@ -229,35 +229,35 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue( // Int16 contains CharacterCompressionType values sal_Int16 nUno = ScUnoHelpFunctions::GetInt16FromAny( aValue ); pDoc->SetAsianCompression( (sal_uInt8) nUno ); - bUpdateHeights = sal_True; + bUpdateHeights = true; } else if ( aPropertyName.equalsAscii( SC_UNO_ASIANKERN ) ) { pDoc->SetAsianKerning( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); - bUpdateHeights = sal_True; + bUpdateHeights = true; } else if ( aPropertyName.equalsAscii( SCSAVEVERSION ) ) { - sal_Bool bTmp=false; + bool bTmp=false; if ( aValue >>= bTmp ) pDocShell->SetSaveVersionOnClose( bTmp ); } else if ( aPropertyName.equalsAscii( SC_UNO_UPDTEMPL ) ) { - sal_Bool bTmp=sal_True; + bool bTmp=true; if ( aValue >>= bTmp ) pDocShell->SetQueryLoadTemplate( bTmp ); } else if ( aPropertyName.equalsAscii( SC_UNO_LOADREADONLY ) ) { - sal_Bool bTmp=false; + bool bTmp=false; if ( aValue >>= bTmp ) pDocShell->SetLoadReadonly( bTmp ); } else if ( aPropertyName.equalsAscii( SC_UNO_SHAREDOC ) ) { #if HAVE_FEATURE_MULTIUSER_ENVIRONMENT - sal_Bool bDocShared = false; + bool bDocShared = false; if ( aValue >>= bDocShared ) { pDocShell->SetSharedXMLFlag( bDocShared ); @@ -280,7 +280,7 @@ void SAL_CALL ScDocumentConfiguration::setPropertyValue( } else if ( aPropertyName.equalsAscii( SC_UNO_EMBED_FONTS ) ) { - sal_Bool bVal = sal_False; + bool bVal = false; if ( aValue >>=bVal ) { pDoc->SetIsUsingEmbededFonts(bVal); |