diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-05-14 12:05:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-05-14 14:34:11 +0100 |
commit | bd04c1d896f3213a7cce66829b0ab408e59a2401 (patch) | |
tree | dff5e21ad09d4a11976266c7a559cdcd77656742 /svtools/source/control | |
parent | 2368d3403a57be2e13ef478f00b6981212de0db7 (diff) |
WaE: unsafe mix of bool and sal_Bool
Change-Id: I3854a9958f49dbbabe7a604e4604d5d8f79adc11
Diffstat (limited to 'svtools/source/control')
-rw-r--r-- | svtools/source/control/tabbar.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index fb25b442eb1e..a922241b2b44 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -2413,24 +2413,24 @@ void TabBar::EndEditMode( sal_Bool bCancel ) // ----------------------------------------------------------------------- -void TabBar::SetMirrored( sal_Bool bMirrored ) +void TabBar::SetMirrored(bool bMirrored) { if( mbMirrored != bMirrored ) { mbMirrored = bMirrored; - mbSizeFormat = sal_True; + mbSizeFormat = true; ImplInitControls(); // for button images Resize(); // recalculates control positions Mirror(); } } -void TabBar::SetEffectiveRTL( sal_Bool bRTL ) +void TabBar::SetEffectiveRTL( bool bRTL ) { SetMirrored( bRTL != Application::GetSettings().GetLayoutRTL() ); } -sal_Bool TabBar::IsEffectiveRTL() const +bool TabBar::IsEffectiveRTL() const { return IsMirrored() != Application::GetSettings().GetLayoutRTL(); } |