remove unused HelpText attribute from *.sdi files

Change-Id: I21bcf66c552cd38eaae1bdc85626aa9bd1782ebd
This commit is contained in:
Noel Grandin 2016-02-08 09:02:18 +02:00
parent aa9b67dda0
commit 8a79d044c0
15 changed files with 2 additions and 42 deletions

View File

@ -19,7 +19,6 @@
module
BasicIDE
[
HelpText( "BasicIDE" )
SlotIdFile( "basslots.hrc" )
]
{

View File

@ -86,7 +86,6 @@ class SvMetaObject : public SvRttiBase
{
protected:
SvString aName;
SvHelpText aHelpText;
bool ReadNameSvIdl( SvTokenStream & rInStm );
void DoReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
@ -102,7 +101,6 @@ public:
void SetName( const OString& rName );
virtual const SvString & GetName() const { return aName; }
virtual const SvString & GetHelpText() const { return aHelpText; }
virtual bool Test( SvIdlDataBase &, SvTokenStream & rInStm );
virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
@ -145,14 +143,6 @@ public:
: aRef->GetName();
}
const SvString & GetHelpText() const override
{
return ( !aRef.Is()
|| !SvMetaObject::GetHelpText().getString().isEmpty() )
? SvMetaObject::GetHelpText()
: aRef->GetHelpText();
}
SvMetaReference * GetRef() const { return aRef; }
void SetRef( SvMetaReference * pRef )
{ aRef = pRef; }

View File

@ -86,14 +86,6 @@ public:
};
class SvHelpText : public SvString
{
public:
SvHelpText() {}
void ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
};
#endif // INCLUDED_IDL_INC_BASTYPE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -30,7 +30,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_module;
SvStringHashEntryRef MM_interface;
SvStringHashEntryRef MM_String;
SvStringHashEntryRef MM_HelpText;
SvStringHashEntryRef MM_void;
SvStringHashEntryRef MM_shell;
SvStringHashEntryRef MM_Toggle;
@ -99,7 +98,6 @@ inline SvStringHashEntry * SvHash_##Name() \
HASH_INLINE(module)
HASH_INLINE(interface)
HASH_INLINE(HelpText)
HASH_INLINE(shell)
HASH_INLINE(Toggle)
HASH_INLINE(AutoUpdate)

View File

@ -87,10 +87,9 @@ bool SvMetaObject::ReadNameSvIdl( SvTokenStream & rInStm )
return false;
}
void SvMetaObject::ReadAttributesSvIdl( SvIdlDataBase & rBase,
SvTokenStream & rInStm )
void SvMetaObject::ReadAttributesSvIdl( SvIdlDataBase & ,
SvTokenStream & )
{
aHelpText.ReadSvIdl( rBase, rInStm );
}
void SvMetaObject::DoReadContextSvIdl( SvIdlDataBase & rBase,

View File

@ -138,9 +138,4 @@ bool SvString::ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm )
return false;
}
void SvHelpText::ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm )
{
SvString::ReadSvIdl( SvHash_HelpText(), rInStm );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@ -57,7 +57,6 @@ SvGlobalHashNames::SvGlobalHashNames()
: MM_module( INS( "module" ) )
, MM_interface( INS( "interface" ) )
, MM_String( INS( "String" ) )
, MM_HelpText( INS( "HelpText" ) )
, MM_void( INS( "void" ) )
, MM_shell( INS( "shell" ) )
, MM_Toggle( INS( "Toggle" ) )

View File

@ -19,7 +19,6 @@
module
StarCalc
[
HelpText( "StarDivision StarCalc" ),
SlotIdFile( "scslots.hrc" )
ModulePrefix( "Sc" )
]

View File

@ -223,7 +223,6 @@ interface DataPilotTables
interface DataPilotTable
{
SbxObject DataPilotFields SID_PIVOT_FIELDS
[ HelpText = "" ; ]
}
interface DataPilotFields
@ -233,11 +232,8 @@ interface DataPilotFields
interface DataPilotField
{
String FieldName SID_PFIELD_NAME
[ HelpText = "" ; ]
UINT16 Orientation SID_PFIELD_ORIENTATION
[ HelpText = "" ; ]
UINT16 Function SID_PFIELD_FUNCTION
[ HelpText = "" ; ]
}
@ -248,7 +244,6 @@ shell ScTabViewShell
import Tables "ActiveDocument.Tables";
import BaseSelection;
import TableEditView;
// import SearchSettings;
SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ]

View File

@ -18,7 +18,6 @@
module
StarDraw
[
HelpText( "StarDraw Application" )
SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" )
]

View File

@ -19,7 +19,6 @@
module
StarDraw
[
HelpText( "StarDraw Application" )
SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" )
]

View File

@ -19,7 +19,6 @@
module
StarApplicationFrame
[
HelpText( "StarDivision Application Framework" ),
SlotIdFile( "sfx2/sfx.hrc" )
]
{

View File

@ -19,7 +19,6 @@
module
StarMath
[
HelpText ( "StarMath Application" )
SlotIdFile ( "starmath.hrc" )
SlotIdFile ( "editeng/editids.hrc" )
SlotIdFile ( "sfx2/sfxsids.hrc" )

View File

@ -18,7 +18,6 @@
module
SvxItems
[
HelpText( "Svx-Items" )
SlotIdFile( "svxslots.hrc" )
]
{

View File

@ -19,7 +19,6 @@
module
StarWriter
[
HelpText( "StarWriter Application" )
SlotIdFile( "swslots.hrc" )
ModulePrefix( "Sw" )
]