Kaydet (Commit) 22040a74 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

sal_Bool to bool.

Change-Id: I63bff9f8ba19e8f037edf29bc82555b8c6e77d1e
üst 591e284d
...@@ -51,8 +51,8 @@ public: ...@@ -51,8 +51,8 @@ public:
bool HasFocus() const; bool HasFocus() const;
bool IsCursored() const; bool IsCursored() const;
bool IsSelectable() const; bool IsSelectable() const;
void SetFocus( sal_Bool bFocus); void SetFocus( bool bFocus );
void SetCursored( sal_Bool bCursored ); void SetCursored( bool bCursored );
sal_uInt16 GetFlags() const; sal_uInt16 GetFlags() const;
void SetSelectable( bool bSelectable ); void SetSelectable( bool bSelectable );
}; };
......
...@@ -72,7 +72,7 @@ bool SvViewData::IsSelectable() const ...@@ -72,7 +72,7 @@ bool SvViewData::IsSelectable() const
return (nFlags & SVLISTENTRYFLAG_NOT_SELECTABLE) == 0; return (nFlags & SVLISTENTRYFLAG_NOT_SELECTABLE) == 0;
} }
void SvViewData::SetFocus( sal_Bool bFocus) void SvViewData::SetFocus( bool bFocus )
{ {
if ( !bFocus ) if ( !bFocus )
nFlags &= (~SVLISTENTRYFLAG_FOCUSED); nFlags &= (~SVLISTENTRYFLAG_FOCUSED);
...@@ -80,7 +80,7 @@ void SvViewData::SetFocus( sal_Bool bFocus) ...@@ -80,7 +80,7 @@ void SvViewData::SetFocus( sal_Bool bFocus)
nFlags |= SVLISTENTRYFLAG_FOCUSED; nFlags |= SVLISTENTRYFLAG_FOCUSED;
} }
void SvViewData::SetCursored( sal_Bool bCursored ) void SvViewData::SetCursored( bool bCursored )
{ {
if ( !bCursored ) if ( !bCursored )
nFlags &= (~SVLISTENTRYFLAG_CURSORED); nFlags &= (~SVLISTENTRYFLAG_CURSORED);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment