summaryrefslogtreecommitdiff
path: root/sfx2/source/inc/splitwin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-07 09:15:28 +0200
committerNoel Grandin <noel@peralex.com>2014-04-07 13:53:50 +0200
commit74fdda0cd41d97b6c97d2115584ee48fd552514e (patch)
treefa29308f180abbd7dec4c16f5603604a15fa079e /sfx2/source/inc/splitwin.hxx
parent1eee88dd6bf2c647aa3458d33a5f45c51c024186 (diff)
sfx2: sal_Bool->bool
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
Diffstat (limited to 'sfx2/source/inc/splitwin.hxx')
-rw-r--r--sfx2/source/inc/splitwin.hxx40
1 files changed, 20 insertions, 20 deletions
diff --git a/sfx2/source/inc/splitwin.hxx b/sfx2/source/inc/splitwin.hxx
index f3a985bee804..e01b44e88f8e 100644
--- a/sfx2/source/inc/splitwin.hxx
+++ b/sfx2/source/inc/splitwin.hxx
@@ -36,8 +36,8 @@ private:
SfxChildAlignment eAlign;
SfxWorkWindow* pWorkWin;
SfxDockArr_Impl* pDockArr;
- sal_Bool bLocked;
- sal_Bool bPinned;
+ bool bLocked;
+ bool bPinned;
SfxEmptySplitWin_Impl* pEmptyWin;
SfxDockingWindow* pActive;
@@ -45,12 +45,12 @@ private:
const Size& rSize,
sal_uInt16 nLine,
sal_uInt16 nPos,
- sal_Bool bNewLine=sal_False );
+ bool bNewLine=false );
DECL_LINK( TimerHdl, Timer* );
- sal_Bool CursorIsOverRect( sal_Bool bForceAdding = sal_False ) const;
- void SetPinned_Impl( sal_Bool );
- void SetFadeIn_Impl( sal_Bool );
+ bool CursorIsOverRect( bool bForceAdding = false ) const;
+ void SetPinned_Impl( bool );
+ void SetFadeIn_Impl( bool );
void SaveConfig_Impl();
void FadeOut_Impl();
@@ -64,12 +64,12 @@ protected:
public:
SfxSplitWindow( Window* pParent, SfxChildAlignment eAl,
- SfxWorkWindow *pW, sal_Bool bWithButtons,
+ SfxWorkWindow *pW, bool bWithButtons,
WinBits nBits = WB_BORDER | WB_SIZEABLE | WB_3DLOOK );
virtual ~SfxSplitWindow();
- void ReleaseWindow_Impl(SfxDockingWindow *pWin, sal_Bool bSaveConfig=sal_True);
+ void ReleaseWindow_Impl(SfxDockingWindow *pWin, bool bSaveConfig=true);
void InsertWindow( SfxDockingWindow* pDockWin,
const Size& rSize);
@@ -78,43 +78,43 @@ public:
const Size& rSize,
sal_uInt16 nLine,
sal_uInt16 nPos,
- sal_Bool bNewLine=sal_False );
+ bool bNewLine=false );
void MoveWindow( SfxDockingWindow* pDockWin,
const Size& rSize,
sal_uInt16 nLine,
sal_uInt16 nPos,
- sal_Bool bNewLine=sal_False );
+ bool bNewLine=false );
- void RemoveWindow( SfxDockingWindow* pDockWin, sal_Bool bHide=sal_True);
+ void RemoveWindow( SfxDockingWindow* pDockWin, bool bHide=true);
- void Lock( sal_Bool bLock=sal_True )
+ void Lock( bool bLock=true )
{
bLocked = bLock;
SetUpdateMode( !bLock );
}
using Window::IsLocked;
- sal_Bool IsLocked() const { return bLocked; }
- sal_Bool GetWindowPos( const SfxDockingWindow* pWindow,
+ bool IsLocked() const { return bLocked; }
+ bool GetWindowPos( const SfxDockingWindow* pWindow,
sal_uInt16& rLine, sal_uInt16& rPos ) const;
- sal_Bool GetWindowPos( const Point& rTestPos,
+ bool GetWindowPos( const Point& rTestPos,
sal_uInt16& rLine, sal_uInt16& rPos ) const;
sal_uInt16 GetLineCount() const;
long GetLineSize( sal_uInt16 ) const;
sal_uInt16 GetWindowCount(sal_uInt16 nLine) const;
sal_uInt16 GetWindowCount() const;
- sal_Bool IsPinned() const { return bPinned; }
- sal_Bool IsFadeIn() const;
- sal_Bool IsAutoHide( sal_Bool bSelf = sal_False ) const;
+ bool IsPinned() const { return bPinned; }
+ bool IsFadeIn() const;
+ bool IsAutoHide( bool bSelf = false ) const;
SplitWindow* GetSplitWindow();
virtual void AutoHide() SAL_OVERRIDE;
virtual void FadeOut() SAL_OVERRIDE;
virtual void FadeIn() SAL_OVERRIDE;
void Show_Impl();
- void Pin_Impl( sal_Bool bPinned );
- sal_Bool ActivateNextChild_Impl( sal_Bool bForward = sal_True );
+ void Pin_Impl( bool bPinned );
+ bool ActivateNextChild_Impl( bool bForward = true );
void SetActiveWindow_Impl( SfxDockingWindow* pWin );
};