diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 08:28:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:14 +0200 |
commit | 5e36e2cb7b9a8e52f198525949da257acd87d8c6 (patch) | |
tree | a593fa2d0e02f5304aa401b4f9cfe166ed338654 /include/svx/charmap.hxx | |
parent | d442a6460f5f1c897358a0e51727c90cd6746ae2 (diff) |
svx: sal_Bool->bool
Change-Id: Ifd9279e7ccc671395caa1e6f3723e86062d2fb08
Diffstat (limited to 'include/svx/charmap.hxx')
-rw-r--r-- | include/svx/charmap.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 61b66a077cbe..c55684e979b0 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -49,7 +49,7 @@ public: void SetFont( const Font& rFont ); - void SelectCharacter( sal_uInt32 cNew, sal_Bool bFocus = sal_False ); + void SelectCharacter( sal_uInt32 cNew, bool bFocus = false ); sal_UCS4 GetSelectCharacter() const; Link GetDoubleClickHdl() const { return aDoubleClkHdl; } @@ -66,12 +66,12 @@ public: int FirstInView( void) const; int LastInView( void) const; int PixelToMapIndex( const Point&) const; - void SelectIndex( int index, sal_Bool bFocus = sal_False ); + void SelectIndex( int index, bool bFocus = false ); void DeSelect(); - inline sal_Bool IsSelected(sal_uInt16 _nPos) const { return _nPos == nSelectedIndex; } - inline sal_uInt16 GetSelectIndexId() const { return sal::static_int_cast<sal_uInt16>(nSelectedIndex); } - sal_uInt16 GetRowPos(sal_uInt16 _nPos) const; - sal_uInt16 GetColumnPos(sal_uInt16 _nPos) const; + inline bool IsSelected(sal_uInt16 _nPos) const { return _nPos == nSelectedIndex; } + inline sal_uInt16 GetSelectIndexId() const { return sal::static_int_cast<sal_uInt16>(nSelectedIndex); } + sal_uInt16 GetRowPos(sal_uInt16 _nPos) const; + sal_uInt16 GetColumnPos(sal_uInt16 _nPos) const; ScrollBar* getScrollBar(); void ReleaseAccessible(); @@ -109,7 +109,7 @@ private: long nY; long m_nXGap; long m_nYGap; - sal_Bool bDrag; + bool bDrag; sal_Int32 nSelectedIndex; @@ -118,7 +118,7 @@ private: private: void DrawChars_Impl( int n1, int n2); - void InitSettings( sal_Bool bForeground, sal_Bool bBackground); + void InitSettings( bool bForeground, bool bBackground); // abstraction layers are: Unicode<->MapIndex<->Pixel Point MapIndexToPixel( int) const; DECL_LINK(VscrollHdl, void *); |