diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:17:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:44 +0200 |
commit | 53b57f3ec48c3ddd48ae1c9a5a806bb2217ba6a5 (patch) | |
tree | fffed908def0bf3c598388502b6338c56a41e675 /lotuswordpro | |
parent | 99b05d1169646710c19c1c20953ed625cb967d9f (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Ic81341bfb5d2271993451c3bdcf6e94222ac6ec2
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwptablelayout.cxx | 6 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwptools.cxx | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwptablelayout.cxx b/lotuswordpro/source/filter/lwptablelayout.cxx index fa65944f4281..42a8e875df39 100644 --- a/lotuswordpro/source/filter/lwptablelayout.cxx +++ b/lotuswordpro/source/filter/lwptablelayout.cxx @@ -564,7 +564,7 @@ void LwpTableLayout::RegisterColumns() sal_Bool * pWidthCalculated = new sal_Bool[nCols]; for(sal_uInt16 i=0;i<nCols; i++) { - pWidthCalculated[i] = sal_False; + pWidthCalculated[i] = false; m_pColumns[i] = nullptr; } @@ -588,7 +588,7 @@ void LwpTableLayout::RegisterColumns() m_pColumns[nColId] = pColumnLayout; if (!pColumnLayout->IsJustifiable()) { - pWidthCalculated[nColId] = sal_True; + pWidthCalculated[nColId] = true; dTableWidth -= pColumnLayout->GetWidth(); nJustifiableColumn --; } @@ -603,7 +603,7 @@ void LwpTableLayout::RegisterColumns() nJustifiableColumn ++; if (m_pColumns[nCols - 1]) { - pWidthCalculated[nCols-1] = sal_False; + pWidthCalculated[nCols-1] = false; dTableWidth += m_pColumns[nCols-1]->GetWidth(); } else diff --git a/lotuswordpro/source/filter/lwptools.cxx b/lotuswordpro/source/filter/lwptools.cxx index 118848d4a72b..cf04d1d64d0c 100644 --- a/lotuswordpro/source/filter/lwptools.cxx +++ b/lotuswordpro/source/filter/lwptools.cxx @@ -253,13 +253,13 @@ XFDateStyle* LwpTools::GetSystemDateStyle(bool bLongFormat) UErrorCode status = U_ZERO_ERROR; UChar* pattern = nullptr; - nLengthNeed = udat_toPattern(reinterpret_cast<void **>(fmt),sal_False,nullptr,nLength,&status); + nLengthNeed = udat_toPattern(reinterpret_cast<void **>(fmt),false,nullptr,nLength,&status); if (status == U_BUFFER_OVERFLOW_ERROR) { status = U_ZERO_ERROR; nLength = nLengthNeed +1; pattern = static_cast<UChar*>(malloc(sizeof(UChar)*nLength)); - udat_toPattern(reinterpret_cast<void **>(fmt),sal_False,pattern,nLength,&status); + udat_toPattern(reinterpret_cast<void **>(fmt),false,pattern,nLength,&status); } if (pattern == nullptr) return nullptr; |