[Libreoffice-commits] .: rsc/source
Andras Timar
timar at kemper.freedesktop.org
Mon Aug 22 09:20:49 PDT 2011
rsc/source/parser/rscinit.cxx | 24 ------------------------
1 file changed, 24 deletions(-)
New commits:
commit 81a8b277ada5d0b7e7f949771f1dbc0e3134867a
Author: Michael Meeks <michael.meeks at novell.com>
Date: Mon Aug 1 17:36:56 2011 +0100
remove name-to-ver-control map contents from RSC_VERSIONCONTROL record
Based on a patch from Andras, this removes a set of un-used
debugging type strings from all lang-pack resource files.
diff --git a/rsc/source/parser/rscinit.cxx b/rsc/source/parser/rscinit.cxx
index 259c6f3..6b949f0 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();
}
More information about the Libreoffice-commits
mailing list