diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-27 13:55:44 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-11-28 10:01:31 -0500 |
commit | 22040a74cc0a598b54cc33259b5f39b6bd5ada5d (patch) | |
tree | 67eac1e67d36be152900f8f0b7dc691592f0addf /svtools | |
parent | Deliver this new header file. (diff) | |
download | core-22040a74cc0a598b54cc33259b5f39b6bd5ada5d.tar.gz core-22040a74cc0a598b54cc33259b5f39b6bd5ada5d.zip |
sal_Bool to bool.
Change-Id: I63bff9f8ba19e8f037edf29bc82555b8c6e77d1e
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/viewdataentry.hxx | 4 | ||||
-rw-r--r-- | svtools/source/contnr/viewdataentry.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/inc/svtools/viewdataentry.hxx b/svtools/inc/svtools/viewdataentry.hxx index 594a1c030642..87def0a0f11e 100644 --- a/svtools/inc/svtools/viewdataentry.hxx +++ b/svtools/inc/svtools/viewdataentry.hxx @@ -51,8 +51,8 @@ public: bool HasFocus() const; bool IsCursored() const; bool IsSelectable() const; - void SetFocus( sal_Bool bFocus); - void SetCursored( sal_Bool bCursored ); + void SetFocus( bool bFocus ); + void SetCursored( bool bCursored ); sal_uInt16 GetFlags() const; void SetSelectable( bool bSelectable ); }; diff --git a/svtools/source/contnr/viewdataentry.cxx b/svtools/source/contnr/viewdataentry.cxx index f26ad15c35bb..544bb030cc7d 100644 --- a/svtools/source/contnr/viewdataentry.cxx +++ b/svtools/source/contnr/viewdataentry.cxx @@ -72,7 +72,7 @@ bool SvViewData::IsSelectable() const return (nFlags & SVLISTENTRYFLAG_NOT_SELECTABLE) == 0; } -void SvViewData::SetFocus( sal_Bool bFocus) +void SvViewData::SetFocus( bool bFocus ) { if ( !bFocus ) nFlags &= (~SVLISTENTRYFLAG_FOCUSED); @@ -80,7 +80,7 @@ void SvViewData::SetFocus( sal_Bool bFocus) nFlags |= SVLISTENTRYFLAG_FOCUSED; } -void SvViewData::SetCursored( sal_Bool bCursored ) +void SvViewData::SetCursored( bool bCursored ) { if ( !bCursored ) nFlags &= (~SVLISTENTRYFLAG_CURSORED); |