Kaydet (Commit) 82ce4dd6 authored tarafından Noel Grandin's avatar Noel Grandin

editeng: sal_Bool->bool

Change-Id: Icfda5e8e774b9b5a6c3d99b636e4ce772b93139d
üst ec960fd3
......@@ -302,7 +302,7 @@ sal_Bool SvxAccessibleTextIndex::IsEditableRange( const SvxAccessibleTextIndex&
SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( sal_False )
SvxEditSourceAdapter::SvxEditSourceAdapter() : mbEditSourceValid( false )
{
}
......@@ -363,7 +363,7 @@ SvxViewForwarder* SvxEditSourceAdapter::GetViewForwarder()
return NULL;
}
SvxAccessibleTextEditViewAdapter* SvxEditSourceAdapter::GetEditViewForwarderAdapter( sal_Bool bCreate )
SvxAccessibleTextEditViewAdapter* SvxEditSourceAdapter::GetEditViewForwarderAdapter( bool bCreate )
{
if( mbEditSourceValid && mpAdaptee.get() )
{
......@@ -410,19 +410,19 @@ void SvxEditSourceAdapter::SetEditSource( ::std::auto_ptr< SvxEditSource > pAdap
if( pAdaptee.get() )
{
mpAdaptee = pAdaptee;
mbEditSourceValid = sal_True;
mbEditSourceValid = true;
}
else
{
// do a lazy delete (prevents us from deleting the broadcaster
// from within a broadcast in
// AccessibleTextHelper_Impl::Notify)
mbEditSourceValid = sal_False;
mbEditSourceValid = false;
}
}
SAL_WNODEPRECATED_DECLARATIONS_POP
sal_Bool SvxEditSourceAdapter::IsValid() const
bool SvxEditSourceAdapter::IsValid() const
{
return mbEditSourceValid;
}
......
......@@ -147,14 +147,14 @@ public:
SvxAccessibleTextAdapter* GetTextForwarderAdapter(); // covariant return types don't work on MSVC
virtual SvxViewForwarder* GetViewForwarder();
virtual SvxEditViewForwarder* GetEditViewForwarder( bool bCreate = false ) SAL_OVERRIDE;
SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( sal_Bool bCreate = sal_False ); // covariant return types don't work on MSVC
SvxAccessibleTextEditViewAdapter* GetEditViewForwarderAdapter( bool bCreate = false ); // covariant return types don't work on MSVC
virtual void UpdateData();
virtual SfxBroadcaster& GetBroadcaster() const;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
void SetEditSource( ::std::auto_ptr< SvxEditSource > pAdaptee );
SAL_WNODEPRECATED_DECLARATIONS_POP
sal_Bool IsValid() const;
bool IsValid() const;
private:
// declared, but not defined
......@@ -170,7 +170,7 @@ private:
mutable SfxBroadcaster maDummyBroadcaster;
sal_Bool mbEditSourceValid;
bool mbEditSourceValid;
};
#endif
......
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