summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 17:07:05 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 18:24:02 +0100
commitb184636e1ccbc6560430a6a3e44fe56d2014c8f7 (patch)
treef79664745b4945e2c19beac2772ee27c31f91914 /include
parentf44116909d356fdc9c9ec8658be6cc465cb46686 (diff)
bool improvements
Change-Id: I714caa8dc3d34fd56e6a11f57db6723dcb7e6705
Diffstat (limited to 'include')
-rw-r--r--include/vcl/font.hxx2
-rw-r--r--include/vcl/window.hxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx
index 1aa1cd113971..b597c114dc37 100644
--- a/include/vcl/font.hxx
+++ b/include/vcl/font.hxx
@@ -94,7 +94,7 @@ public:
void SetOrientation( short nLineOrientation );
short GetOrientation() const;
void SetVertical( sal_Bool bVertical );
- sal_Bool IsVertical() const;
+ bool IsVertical() const;
void SetKerning( FontKerning nKerning );
FontKerning GetKerning() const;
sal_Bool IsKerning() const;
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index b2ef51cb9d8d..ba37b8fae472 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -720,8 +720,8 @@ public:
// return the dialog we are contained in or NULL if un-contained
Dialog* GetParentDialog() const;
- void Show( sal_Bool bVisible = sal_True, sal_uInt16 nFlags = 0 );
- void Hide() { Show( sal_False ); }
+ void Show( bool bVisible = true, sal_uInt16 nFlags = 0 );
+ void Hide() { Show( false ); }
sal_Bool IsVisible() const;
sal_Bool IsReallyVisible() const;
sal_Bool IsReallyShown() const;
@@ -731,8 +731,8 @@ public:
void Disable( bool bChild = true ) { Enable( false, bChild ); }
sal_Bool IsEnabled() const;
- void EnableInput( sal_Bool bEnable = sal_True, sal_Bool bChild = sal_True );
- void EnableInput( sal_Bool bEnable, sal_Bool bChild, sal_Bool bSysWin,
+ void EnableInput( bool bEnable = true, sal_Bool bChild = sal_True );
+ void EnableInput( bool bEnable, sal_Bool bChild, sal_Bool bSysWin,
const Window* pExcludeWindow = NULL );
sal_Bool IsInputEnabled() const;
@@ -890,7 +890,7 @@ public:
void SetPointer( const Pointer& rPointer );
const Pointer& GetPointer() const;
- void EnableChildPointerOverwrite( sal_Bool bOverwrite = sal_True );
+ void EnableChildPointerOverwrite( bool bOverwrite );
void SetPointerPosPixel( const Point& rPos );
Point GetPointerPosPixel();
Point GetLastPointerPosPixel();