diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 16:12:47 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 16:12:47 +0000 |
commit | e63e708527e3cb7e5301310ce7a1a985bbb4ad29 (patch) | |
tree | c7936625043973750a97a4e3fd83781e466ea4f2 /tools/source/rc/rc.cxx | |
parent | b3a8f4c9fd2346c886354ec60a39021882e6e403 (diff) |
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
Diffstat (limited to 'tools/source/rc/rc.cxx')
-rw-r--r-- | tools/source/rc/rc.cxx | 40 |
1 files changed, 2 insertions, 38 deletions
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 <rcid.h> #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 ) |