Bin a couple of pointless macros only used once
Change-Id: I7d0c812afbbeeb4ea9835f957024b6bf86dfdaaf
This commit is contained in:
@@ -25,9 +25,6 @@
|
||||
#define OWN_ATTR_VALUE_START 3900
|
||||
#define OWN_ATTR_VALUE_END 3990
|
||||
|
||||
#define CREATERESMGR_NAME( Name ) #Name
|
||||
#define CREATERESMGR( Name ) ResMgr::CreateResMgr( CREATERESMGR_NAME( Name ) )
|
||||
|
||||
#define RID_SFX_START 260
|
||||
// RID_SFX_END 9999
|
||||
|
||||
|
@@ -3121,7 +3121,7 @@ bool HtmlExport::checkForExistingFiles()
|
||||
|
||||
if( bFound )
|
||||
{
|
||||
ResMgr *pResMgr = CREATERESMGR( dbw );
|
||||
ResMgr *pResMgr = ResMgr::CreateResMgr( "dbw" );
|
||||
if( pResMgr )
|
||||
{
|
||||
ResId aResId( 4077, *pResMgr );
|
||||
|
@@ -167,15 +167,13 @@ Window* ImplGetDefaultWindow()
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
#define VCL_CREATERESMGR_NAME( Name ) #Name
|
||||
|
||||
ResMgr* ImplGetResMgr()
|
||||
{
|
||||
ImplSVData* pSVData = ImplGetSVData();
|
||||
if ( !pSVData->mpResMgr )
|
||||
{
|
||||
LanguageTag aLocale( Application::GetSettings().GetUILanguageTag());
|
||||
pSVData->mpResMgr = ResMgr::SearchCreateResMgr( VCL_CREATERESMGR_NAME( vcl ), aLocale );
|
||||
pSVData->mpResMgr = ResMgr::SearchCreateResMgr( "vcl", aLocale );
|
||||
|
||||
static bool bMessageOnce = false;
|
||||
if( !pSVData->mpResMgr && ! bMessageOnce )
|
||||
|
Reference in New Issue
Block a user