summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-14 14:39:47 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:07:52 +0200
commitb7843c1ec0617b48e084e22287fea1a0b44814e9 (patch)
treee0b0e0d72cf022235678e98f6997896660a3fc59
parent0b625af774b7160f4faeab9810d425d5240c9e87 (diff)
sal_Bool->bool
Change-Id: I5a412f7b5a8c94546eb4de9825ebaa8d3953d619
-rw-r--r--sc/source/ui/cctrl/cbuttonw.cxx6
-rw-r--r--sc/source/ui/inc/cbutton.hxx14
2 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx
index 3e7d681c646c..96da2d65547a 100644
--- a/sc/source/ui/cctrl/cbuttonw.cxx
+++ b/sc/source/ui/cctrl/cbuttonw.cxx
@@ -60,8 +60,8 @@ void ScDDComboBoxButton::SetOptSizePixel()
void ScDDComboBoxButton::Draw( const Point& rAt,
const Size& rSize,
- sal_Bool bState,
- sal_Bool bBtnIn /* = sal_False */ )
+ bool bState,
+ bool bBtnIn /* = false */ )
{
if ( rSize.Width() == 0 || rSize.Height() == 0 )
return; // #i43092# rectangle with size 0 would have RECT_EMPTY as end position
@@ -118,7 +118,7 @@ void ScDDComboBoxButton::Draw( const Point& rAt,
//------------------------------------------------------------------------
void ScDDComboBoxButton::ImpDrawArrow( const Rectangle& rRect,
- sal_Bool bState )
+ bool bState )
{
// no need to save old line and fill color here (is restored after the call)
diff --git a/sc/source/ui/inc/cbutton.hxx b/sc/source/ui/inc/cbutton.hxx
index 6c93f3777355..2d7b101fbad8 100644
--- a/sc/source/ui/inc/cbutton.hxx
+++ b/sc/source/ui/inc/cbutton.hxx
@@ -40,16 +40,16 @@ public:
void Draw( const Point& rAt,
const Size& rSize,
- sal_Bool bState,
- sal_Bool bBtnIn = false );
+ bool bState,
+ bool bBtnIn = false );
void Draw( const Point& rAt,
- sal_Bool bState,
- sal_Bool bBtnIn = false )
+ bool bState,
+ bool bBtnIn = false )
{ Draw( rAt, aBtnSize, bState, bBtnIn ); }
- void Draw( sal_Bool bState,
- sal_Bool bBtnIn = false )
+ void Draw( bool bState,
+ bool bBtnIn = false )
{ Draw( aBtnPos, aBtnSize, bState, bBtnIn ); }
void SetOptSizePixel();
@@ -62,7 +62,7 @@ public:
private:
void ImpDrawArrow( const Rectangle& rRect,
- sal_Bool bState );
+ bool bState );
protected:
OutputDevice* pOut;