[PATCH] remove name-to-ver-control map contents from RSC_VERSIONCONTROL record
Michael Meeks
michael.meeks at novell.com
Mon Aug 1 09:36:56 PDT 2011
Based on a patch from Andras, this removes a set of un-used
debugging type strings from all lang-pack resource files.
---
rsc/source/parser/rscinit.cxx | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index ae6b7b6..b4591bd 100644
--- a/rsc/source/parser/rscinit.cxx
+++ b/rsc/source/parser/rscinit.cxx
@@ -58,29 +58,6 @@
#define INS_WINBIT( pClass, WinBit ) \
InsWinBit( pClass, #WinBit, n##WinBit##Id );
-/****************** C O D E **********************************************/
-void NameToVerCtrl( RSCINST & aVersion, RscTop * pClass,
- RscTop * pClassString )
-{
- if( pClass )
- {
- NameToVerCtrl( aVersion, (RscTop *)pClass->Left(), pClassString );
- {
- RSCINST aVI;
- RSCINST aStr;
-
- // Namen in Versionskontrolle einsetzen
- aVersion.pClass->
- GetElement( aVersion, RscId( pClass->GetTypId() ),
- pClassString, RSCINST(), &aVI );
- aStr = aVI.pClass->GetVariable( aVI, pHS->getID( "TEXT" ),
- RSCINST() );
- aStr.pClass->SetString( aStr, pHS->getString( pClass->GetId() ).getStr() );
- }
- NameToVerCtrl( aVersion, (RscTop *)pClass->Right(), pClassString );
- }
-}
-
/*************************************************************************
|*
|* RscTypCont::Init()
@@ -926,7 +903,6 @@ void RscTypCont::Init()
pClassSfxSlotInfo = InitClassSfxSlotInfo( pClassMgr );
pRoot->Insert( pClassSfxSlotInfo );
}
- NameToVerCtrl( aVersion, pRoot, pClassString );
aNmTb.SetSort();
}
--
1.7.3.4
--
michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
--
michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
More information about the LibreOffice
mailing list