diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-08 10:09:22 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-01-08 10:10:30 +0900 |
commit | ff927ba4272aa8f115472577ec9393df19016f2a (patch) | |
tree | f7f8b328679cccffe26634cb8ee044ee947ed3c3 /sw/source/ui/app | |
parent | dce241f933f076e256ef8f2c3e8b8e5e9e3efa7f (diff) |
sal_Bool to bool
Change-Id: I4e4063321da69d45d14a2fc870c33ea8ae46e4ef
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r-- | sw/source/ui/app/swmodul1.cxx | 16 | ||||
-rw-r--r-- | sw/source/ui/app/swmodule.cxx | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/app/swmodul1.cxx b/sw/source/ui/app/swmodul1.cxx index 3c1388fba18e..9337d9cd782e 100644 --- a/sw/source/ui/app/swmodul1.cxx +++ b/sw/source/ui/app/swmodul1.cxx @@ -74,9 +74,9 @@ using namespace ::com::sun::star::lang; static void lcl_SetUIPrefs(const SwViewOption &rPref, SwView* pView, ViewShell* pSh ) { // in FrameSets the actual visibility can differ from the ViewOption's setting - sal_Bool bVScrollChanged = rPref.IsViewVScrollBar() != pSh->GetViewOptions()->IsViewVScrollBar(); - sal_Bool bHScrollChanged = rPref.IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar(); - sal_Bool bVAlignChanged = rPref.IsVRulerRight() != pSh->GetViewOptions()->IsVRulerRight(); + bool bVScrollChanged = rPref.IsViewVScrollBar() != pSh->GetViewOptions()->IsViewVScrollBar(); + bool bHScrollChanged = rPref.IsViewHScrollBar() != pSh->GetViewOptions()->IsViewHScrollBar(); + bool bVAlignChanged = rPref.IsVRulerRight() != pSh->GetViewOptions()->IsVRulerRight(); pSh->SetUIOptions(rPref); const SwViewOption* pNewPref = pSh->GetViewOptions(); @@ -156,7 +156,7 @@ void SwModule::ApplyUsrPref(const SwViewOption &rUsrPref, SwView* pActView, pCurrView && pCurrView->ISA(SwWebView) )); // with Uno, only sdbcx::View, but not the Module should be changed - sal_Bool bViewOnly = VIEWOPT_DEST_VIEW_ONLY == nDest; + bool bViewOnly = VIEWOPT_DEST_VIEW_ONLY == nDest; // fob PreView off SwPagePreView* pPPView; if( !pCurrView && 0 != (pPPView = PTR_CAST( SwPagePreView, SfxViewShell::Current())) ) @@ -303,11 +303,11 @@ void SwModule::ApplyUserCharUnit(sal_Bool bApplyChar, sal_Bool bWeb) pPref = pUsrPref; } sal_Bool bOldApplyCharUnit = pPref->IsApplyCharUnit(); - sal_Bool bHasChanged = sal_False; + bool bHasChanged = false; if(bOldApplyCharUnit != bApplyChar) { pPref->SetApplyCharUnit(bApplyChar); - bHasChanged = sal_True; + bHasChanged = true; } if( !bHasChanged ) @@ -460,7 +460,7 @@ static void lcl_FillAuthorAttr( sal_uInt16 nAuthor, SfxItemSet &rSet, sizeof( aColArr[0] )) ] ); } - sal_Bool bBackGr = COL_NONE == rAttr.nColor; + bool bBackGr = COL_NONE == rAttr.nColor; switch (rAttr.nItemId) { @@ -503,7 +503,7 @@ static void lcl_FillAuthorAttr( sal_uInt16 nAuthor, SfxItemSet &rSet, case SID_ATTR_BRUSH: rSet.Put( SvxBrushItem( aCol, RES_CHRATR_BACKGROUND )); - bBackGr = sal_True; + bBackGr = true; break; } diff --git a/sw/source/ui/app/swmodule.cxx b/sw/source/ui/app/swmodule.cxx index 0add2ed9217b..3c61ac7403e0 100644 --- a/sw/source/ui/app/swmodule.cxx +++ b/sw/source/ui/app/swmodule.cxx @@ -128,7 +128,7 @@ #include <app.hrc> #include <svx/xmlsecctrl.hxx> ResMgr *pSwResMgr = 0; -sal_Bool bNoInterrupt = sal_False; +bool bNoInterrupt = false; #include <sfx2/app.hxx> |