diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-03 14:06:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:14 +0200 |
commit | d442a6460f5f1c897358a0e51727c90cd6746ae2 (patch) | |
tree | a3e46551b4664ef057f4ee420690ce8172dd1373 /svx/source/dialog | |
parent | svx: sal_Bool->bool (diff) | |
download | core-d442a6460f5f1c897358a0e51727c90cd6746ae2.tar.gz core-d442a6460f5f1c897358a0e51727c90cd6746ae2.zip |
svx: sal_Bool->bool
and optimise some methods in bmpmask.hxx - they were unconditionally
returning true, so convert them to void return type.
Change-Id: If8b092a857ab80ead93112b0d627e41d5ccb3cf9
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/_bmpmask.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/_bmpmask.cxx b/svx/source/dialog/_bmpmask.cxx index 5d4a38625143..a1f926a1a582 100644 --- a/svx/source/dialog/_bmpmask.cxx +++ b/svx/source/dialog/_bmpmask.cxx @@ -577,7 +577,7 @@ bool SvxBmpMask::Close() -sal_Bool SvxBmpMask::NeedsColorList() const +bool SvxBmpMask::NeedsColorList() const { return ( aLbColor1.GetEntryCount() == 0 ); } @@ -656,7 +656,7 @@ void SvxBmpMask::PipetteClicked() -void SvxBmpMask::SetExecState( sal_Bool bEnable ) +void SvxBmpMask::SetExecState( bool bEnable ) { pData->SetExecState( bEnable ); @@ -1199,7 +1199,7 @@ Graphic SvxBmpMask::Mask( const Graphic& rGraphic ) -sal_Bool SvxBmpMask::IsEyedropping() const +bool SvxBmpMask::IsEyedropping() const { return aTbxPipette.IsItemChecked( TBI_PIPETTE ); } |