diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-05 15:28:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-10 08:13:00 +0000 |
commit | cc589883a98e8d21c57480719c9d4380fc292a59 (patch) | |
tree | 92a568d93d335a4eba83eb9cc495d7ba4824e63d /tools | |
parent | 842873d37c2716ced5674ebaadfb2fae9620632d (diff) |
rename SetResMgr to ClearResMgr
since that is it's only use.
Also clean up the comment block nearby.
Change-Id: Iff67aeec176963132bb8a1e64e0c81853f0912d7
Reviewed-on: https://gerrit.libreoffice.org/29654
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/rc/resmgr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 473b900a6c5b..18d4a59515c4 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -923,7 +923,7 @@ bool ResMgr::IsAvailable( const ResId& rId, const Resource* pResObj ) const if( pMgr->pFallbackResMgr ) { ResId aId( rId ); - aId.SetResMgr( nullptr ); + aId.ClearResMgr(); return pMgr->pFallbackResMgr->IsAvailable( aId, pResObj ); } @@ -961,7 +961,7 @@ bool ResMgr::GetResource( const ResId& rId, const Resource* pResObj ) if( pFallbackResMgr ) { ResId aId( rId ); - aId.SetResMgr( nullptr ); + aId.ClearResMgr(); return pFallbackResMgr->GetResource( aId, pResObj ); } @@ -1094,7 +1094,7 @@ RSHEADER_TYPE* ResMgr::CreateBlock( const ResId& rId ) if( pFallbackResMgr ) { ResId aId( rId ); - aId.SetResMgr( nullptr ); + aId.ClearResMgr(); return pFallbackResMgr->CreateBlock( aId ); } |