diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-14 11:18:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-18 11:26:05 +0200 |
commit | e67d675d1e6410a95c3ea0765c12d96c3a1db512 (patch) | |
tree | 538f4802bf0fbb97e49b241e53ea77f437f16ce1 /sfx2/source/appl/lnkbase2.cxx | |
parent | sfx2: sal_Bool->bool (diff) | |
download | core-e67d675d1e6410a95c3ea0765c12d96c3a1db512.tar.gz core-e67d675d1e6410a95c3ea0765c12d96c3a1db512.zip |
sfx2: sal_Bool->bool
Change-Id: I01a33e255b0dd2a0045f6eed52e6b31305750599
Diffstat (limited to 'sfx2/source/appl/lnkbase2.cxx')
-rw-r--r-- | sfx2/source/appl/lnkbase2.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sfx2/source/appl/lnkbase2.cxx b/sfx2/source/appl/lnkbase2.cxx index 346ad25ba12f..7d9fee3eee80 100644 --- a/sfx2/source/appl/lnkbase2.cxx +++ b/sfx2/source/appl/lnkbase2.cxx @@ -129,8 +129,8 @@ SvBaseLink::SvBaseLink() pImpl = new BaseLink_Impl(); nObjType = OBJECT_CLIENT_SO; pImplData = new ImplBaseLinkData; - bVisible = bSynchron = bUseCache = sal_True; - bWasLastEditOK = sal_False; + bVisible = bSynchron = bUseCache = true; + bWasLastEditOK = false; } @@ -141,8 +141,8 @@ SvBaseLink::SvBaseLink( sal_uInt16 nUpdateMode, sal_uIntPtr nContentType ) pImpl = new BaseLink_Impl(); nObjType = OBJECT_CLIENT_SO; pImplData = new ImplBaseLinkData; - bVisible = bSynchron = bUseCache = sal_True; - bWasLastEditOK = sal_False; + bVisible = bSynchron = bUseCache = true; + bWasLastEditOK = false; // It it going to be a Ole-Link, pImplData->ClientType.nUpdateMode = nUpdateMode; @@ -156,8 +156,8 @@ SvBaseLink::SvBaseLink( const OUString& rLinkName, sal_uInt16 nObjectType, SvLin : pImpl(0) , m_bIsReadOnly(false) { - bVisible = bSynchron = bUseCache = sal_True; - bWasLastEditOK = sal_False; + bVisible = bSynchron = bUseCache = true; + bWasLastEditOK = false; aLinkName = rLinkName; pImplData = new ImplBaseLinkData; nObjType = nObjectType; @@ -299,7 +299,7 @@ void SvBaseLink::clearStreamToLoadFrom() } } -sal_Bool SvBaseLink::Update() +bool SvBaseLink::Update() { if( OBJECT_CLIENT_SO & nObjType ) { @@ -329,7 +329,7 @@ sal_Bool SvBaseLink::Update() { // should be asynschron? if( xObj->IsPending() ) - return sal_True; + return true; // we do not need the object anymore AddNextRef(); @@ -338,7 +338,7 @@ sal_Bool SvBaseLink::Update() } } } - return sal_False; + return false; } @@ -350,7 +350,7 @@ sal_uInt16 SvBaseLink::GetUpdateMode() const } -void SvBaseLink::_GetRealObject( sal_Bool bConnect) +void SvBaseLink::_GetRealObject( bool bConnect) { if( !pImpl->m_pLinkMgr ) return; @@ -392,14 +392,14 @@ sal_uIntPtr SvBaseLink::GetContentType() const } -sal_Bool SvBaseLink::SetContentType( sal_uIntPtr nType ) +bool SvBaseLink::SetContentType( sal_uIntPtr nType ) { if( OBJECT_CLIENT_SO & nObjType ) { pImplData->ClientType.nCntntType = nType; - return sal_True; + return true; } - return sal_False; + return false; } LinkManager* SvBaseLink::GetLinkManager() @@ -471,7 +471,7 @@ void SvBaseLink::Edit( Window* pParent, const Link& rEndEditHdl ) if ( !bAsync ) { ExecuteEdit( OUString() ); - bWasLastEditOK = sal_False; + bWasLastEditOK = false; if ( pImpl->m_aEndEditLink.IsSet() ) pImpl->m_aEndEditLink.Call( this ); } |