From cc589883a98e8d21c57480719c9d4380fc292a59 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Oct 2016 15:28:34 +0200 Subject: 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 Reviewed-by: Noel Grandin --- tools/source/rc/resmgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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 ); } -- cgit