From e63e708527e3cb7e5301310ce7a1a985bbb4ad29 Mon Sep 17 00:00:00 2001 From: Hans-Joachim Lankenau Date: Fri, 25 Jun 2004 16:12:47 +0000 Subject: INTEGRATION: CWS tune04 (1.3.262); FILE MERGED 2004/06/10 12:08:31 cmc 1.3.262.1: #i29636# turn global objects into local static data protected with swishy double-locked templated template --- tools/source/rc/rc.cxx | 40 ++-------------------------------------- 1 file changed, 2 insertions(+), 38 deletions(-) (limited to 'tools') diff --git a/tools/source/rc/rc.cxx b/tools/source/rc/rc.cxx index adbf139c0bce..950c11a5f867 100644 --- a/tools/source/rc/rc.cxx +++ b/tools/source/rc/rc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: rc.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: th $ $Date: 2001-07-25 10:44:37 $ + * last change: $Author: hjs $ $Date: 2004-06-25 17:12:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -80,18 +80,6 @@ #include #endif -#pragma hdrstop - -// ======================================================================= - -ImplSVResourceData aResData; - -inline ImplSVResourceData* GetResData() -{ - //return &ImplGetSVData()->maResourceData; - return &aResData; -} - // ======================================================================= Resource::Resource( const ResId& rResId ) @@ -113,30 +101,6 @@ void Resource::GetRes( const ResId& rResId ) // ----------------------------------------------------------------------- -void Resource::TestRes() -{ - ImplSVResourceData* pSVInData = GetResData(); - if( pSVInData->pAppResMgr ) - GetResManager()->TestStack( this ); -} - -// ----------------------------------------------------------------------- - -void Resource::SetResManager( ResMgr* pNewResMgr ) -{ - ImplSVResourceData * pSVInData = GetResData(); - pSVInData->pAppResMgr = pNewResMgr; -} - -// ----------------------------------------------------------------------- - -ResMgr* Resource::GetResManager() -{ - ImplSVResourceData* pSVInData = GetResData(); - - return pSVInData->pAppResMgr; -} - // ======================================================================= UniString::UniString( const ResId& rResId ) -- cgit