diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-04 23:11:48 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-04 23:14:41 +0900 |
commit | ce33f85ffdb8612c9fba9356acdaa93a08a9ba41 (patch) | |
tree | 26f5c53749cbefe24c8bfe0380e553131ef285a6 /svx | |
parent | f348749a83cb985c5bf40603a0c8b4e3b5950eab (diff) |
sal_Bool to bool
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/fmshimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/xoutdev/_xoutbmp.cxx | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index d696568cc509..c1df29d0f0cb 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -90,7 +90,7 @@ short TabDialog4Recovery::Execute() Show(); m_pActualPage = m_lTabPages.begin(); - while(sal_True) + while(true) { IExtendedTabPage* pPage = *m_pActualPage; SetViewWindow(pPage); diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index c240dca27612..06ee2c51adbf 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -286,7 +286,7 @@ void FontPrevWin_Impl::CheckScript() nScript = xBreak->getScriptType( aText, nChg ); else break; - } while( sal_True ); + } while( true ); } /* @@ -355,7 +355,7 @@ Size FontPrevWin_Impl::CalcTextSize( OutputDevice* pWin, OutputDevice* _pPrinter else break; } - while( sal_True ); + while( true ); nHeight -= nAscent; nCJKHeight -= nCJKAscent; nCTLHeight -= nCTLAscent; @@ -416,7 +416,7 @@ void FontPrevWin_Impl::DrawPrev( OutputDevice* pWin, Printer* _pPrinter, else break; } - while( sal_True ); + while( true ); _pPrinter->SetFont( aOldFont ); } diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 9a0a9d30b14f..fa315f6930a9 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -188,7 +188,7 @@ void SearchAttrItemList::Put( const SfxItemSet& rSet ) const SfxPoolItem* pItem = aIter.GetCurItem(); sal_uInt16 nWhich; - while ( sal_True ) + while ( true ) { // only test that it is available? if( IsInvalidItem( pItem ) ) diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index bfadea866f24..51babbcad8ef 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -2511,7 +2511,7 @@ IMPL_LINK(FmXFormShell, OnSearchContextRequest, FmSearchContext*, pfmscContextIn m_arrRelativeGridColumn.push_back(nViewPos); } } - } while (sal_False); + } while (false); } else { diff --git a/svx/source/xoutdev/_xoutbmp.cxx b/svx/source/xoutdev/_xoutbmp.cxx index 09ca1d9f7775..2018dbea42ad 100644 --- a/svx/source/xoutdev/_xoutbmp.cxx +++ b/svx/source/xoutdev/_xoutbmp.cxx @@ -476,7 +476,7 @@ Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nFlags, nY = nStartY2; // diese Schleife wird immer gebreaked da hier ja min. ein Pixel ist - while( sal_True ) + while( true ) { if( aBlack == pAcc->GetPixel( nY, nX ) ) { @@ -513,7 +513,7 @@ Polygon XOutBitmap::GetCountour( const Bitmap& rBmp, const sal_uIntPtr nFlags, nX = nStartX2; // diese Schleife wird immer gebreaked da hier ja min. ein Pixel ist - while( sal_True ) + while( true ) { if( aBlack == pAcc->GetPixel( nY, nX ) ) { |