diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 15:56:11 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:15 +0200 |
commit | 11bb658a60777243483fe8e682ca46e88855690a (patch) | |
tree | 43150bf47ae7b4f5919128e759439969d585184a /svx/source/dialog | |
parent | svx: sal_Bool->bool (diff) | |
download | core-11bb658a60777243483fe8e682ca46e88855690a.tar.gz core-11bb658a60777243483fe8e682ca46e88855690a.zip |
svx: sal_Bool->bool
Change-Id: I881b262277a23dae7975b541fe0dccf0d09cb985
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index ba2532d817d1..37b41ca06983 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -452,7 +452,7 @@ void FontPrevWin_Impl::ScaleFontWidth( const OutputDevice& rOutDev ) // class SvxFontPrevWindow ----------------------------------------------- -void SvxFontPrevWindow::InitSettings( sal_Bool bForeground, sal_Bool bBackground ) +void SvxFontPrevWindow::InitSettings( bool bForeground, bool bBackground ) { const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings(); @@ -495,7 +495,7 @@ void SvxFontPrevWindow::Init() initFont(pImpl->aFont); initFont(pImpl->aCJKFont); initFont(pImpl->aCTLFont); - InitSettings( sal_True, sal_True ); + InitSettings( true, true ); SetBorderStyle( WINDOW_BORDER_MONO ); } @@ -544,9 +544,9 @@ SvxFont& SvxFontPrevWindow::GetCJKFont() void SvxFontPrevWindow::StateChanged( StateChangedType nType ) { if ( nType == STATE_CHANGE_CONTROLFOREGROUND ) - InitSettings( sal_True, sal_False ); + InitSettings( true, false ); else if ( nType == STATE_CHANGE_CONTROLBACKGROUND ) - InitSettings( sal_False, sal_True ); + InitSettings( false, true ); Window::StateChanged( nType ); Invalidate(); @@ -557,7 +557,7 @@ void SvxFontPrevWindow::StateChanged( StateChangedType nType ) void SvxFontPrevWindow::DataChanged( const DataChangedEvent& rDCEvt ) { if ( ( rDCEvt.GetType() == DATACHANGED_SETTINGS ) && ( rDCEvt.GetFlags() & SETTINGS_STYLE ) ) - InitSettings( sal_True, sal_True ); + InitSettings( true, true ); else Window::DataChanged( rDCEvt ); } @@ -1187,7 +1187,7 @@ void SvxFontPrevWindow::Init( const SfxItemSet& rSet ) initFont(rFont); initFont(rCJKFont); initFont(rCTLFont); - InitSettings( sal_True, sal_True ); + InitSettings( true, true ); sal_uInt16 nWhich; nWhich = rSet.GetPool()->GetWhich( SID_CHAR_DLG_PREVIEW_STRING ); |