Kaydet (Commit) 8a79d044 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused HelpText attribute from *.sdi files

Change-Id: I21bcf66c552cd38eaae1bdc85626aa9bd1782ebd
üst aa9b67dd
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
BasicIDE BasicIDE
[ [
HelpText( "BasicIDE" )
SlotIdFile( "basslots.hrc" ) SlotIdFile( "basslots.hrc" )
] ]
{ {
......
...@@ -86,7 +86,6 @@ class SvMetaObject : public SvRttiBase ...@@ -86,7 +86,6 @@ class SvMetaObject : public SvRttiBase
{ {
protected: protected:
SvString aName; SvString aName;
SvHelpText aHelpText;
bool ReadNameSvIdl( SvTokenStream & rInStm ); bool ReadNameSvIdl( SvTokenStream & rInStm );
void DoReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); void DoReadContextSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
...@@ -102,7 +101,6 @@ public: ...@@ -102,7 +101,6 @@ public:
void SetName( const OString& rName ); void SetName( const OString& rName );
virtual const SvString & GetName() const { return aName; } virtual const SvString & GetName() const { return aName; }
virtual const SvString & GetHelpText() const { return aHelpText; }
virtual bool Test( SvIdlDataBase &, SvTokenStream & rInStm ); virtual bool Test( SvIdlDataBase &, SvTokenStream & rInStm );
virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ); virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
...@@ -145,14 +143,6 @@ public: ...@@ -145,14 +143,6 @@ public:
: aRef->GetName(); : aRef->GetName();
} }
const SvString & GetHelpText() const override
{
return ( !aRef.Is()
|| !SvMetaObject::GetHelpText().getString().isEmpty() )
? SvMetaObject::GetHelpText()
: aRef->GetHelpText();
}
SvMetaReference * GetRef() const { return aRef; } SvMetaReference * GetRef() const { return aRef; }
void SetRef( SvMetaReference * pRef ) void SetRef( SvMetaReference * pRef )
{ aRef = pRef; } { aRef = pRef; }
......
...@@ -86,14 +86,6 @@ public: ...@@ -86,14 +86,6 @@ public:
}; };
class SvHelpText : public SvString
{
public:
SvHelpText() {}
void ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
};
#endif // INCLUDED_IDL_INC_BASTYPE_HXX #endif // INCLUDED_IDL_INC_BASTYPE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -30,7 +30,6 @@ struct SvGlobalHashNames ...@@ -30,7 +30,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_module; SvStringHashEntryRef MM_module;
SvStringHashEntryRef MM_interface; SvStringHashEntryRef MM_interface;
SvStringHashEntryRef MM_String; SvStringHashEntryRef MM_String;
SvStringHashEntryRef MM_HelpText;
SvStringHashEntryRef MM_void; SvStringHashEntryRef MM_void;
SvStringHashEntryRef MM_shell; SvStringHashEntryRef MM_shell;
SvStringHashEntryRef MM_Toggle; SvStringHashEntryRef MM_Toggle;
...@@ -99,7 +98,6 @@ inline SvStringHashEntry * SvHash_##Name() \ ...@@ -99,7 +98,6 @@ inline SvStringHashEntry * SvHash_##Name() \
HASH_INLINE(module) HASH_INLINE(module)
HASH_INLINE(interface) HASH_INLINE(interface)
HASH_INLINE(HelpText)
HASH_INLINE(shell) HASH_INLINE(shell)
HASH_INLINE(Toggle) HASH_INLINE(Toggle)
HASH_INLINE(AutoUpdate) HASH_INLINE(AutoUpdate)
......
...@@ -87,10 +87,9 @@ bool SvMetaObject::ReadNameSvIdl( SvTokenStream & rInStm ) ...@@ -87,10 +87,9 @@ bool SvMetaObject::ReadNameSvIdl( SvTokenStream & rInStm )
return false; return false;
} }
void SvMetaObject::ReadAttributesSvIdl( SvIdlDataBase & rBase, void SvMetaObject::ReadAttributesSvIdl( SvIdlDataBase & ,
SvTokenStream & rInStm ) SvTokenStream & )
{ {
aHelpText.ReadSvIdl( rBase, rInStm );
} }
void SvMetaObject::DoReadContextSvIdl( SvIdlDataBase & rBase, void SvMetaObject::DoReadContextSvIdl( SvIdlDataBase & rBase,
......
...@@ -138,9 +138,4 @@ bool SvString::ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm ) ...@@ -138,9 +138,4 @@ bool SvString::ReadSvIdl( SvStringHashEntry * pName, SvTokenStream & rInStm )
return false; return false;
} }
void SvHelpText::ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm )
{
SvString::ReadSvIdl( SvHash_HelpText(), rInStm );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -57,7 +57,6 @@ SvGlobalHashNames::SvGlobalHashNames() ...@@ -57,7 +57,6 @@ SvGlobalHashNames::SvGlobalHashNames()
: MM_module( INS( "module" ) ) : MM_module( INS( "module" ) )
, MM_interface( INS( "interface" ) ) , MM_interface( INS( "interface" ) )
, MM_String( INS( "String" ) ) , MM_String( INS( "String" ) )
, MM_HelpText( INS( "HelpText" ) )
, MM_void( INS( "void" ) ) , MM_void( INS( "void" ) )
, MM_shell( INS( "shell" ) ) , MM_shell( INS( "shell" ) )
, MM_Toggle( INS( "Toggle" ) ) , MM_Toggle( INS( "Toggle" ) )
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
StarCalc StarCalc
[ [
HelpText( "StarDivision StarCalc" ),
SlotIdFile( "scslots.hrc" ) SlotIdFile( "scslots.hrc" )
ModulePrefix( "Sc" ) ModulePrefix( "Sc" )
] ]
......
...@@ -223,7 +223,6 @@ interface DataPilotTables ...@@ -223,7 +223,6 @@ interface DataPilotTables
interface DataPilotTable interface DataPilotTable
{ {
SbxObject DataPilotFields SID_PIVOT_FIELDS SbxObject DataPilotFields SID_PIVOT_FIELDS
[ HelpText = "" ; ]
} }
interface DataPilotFields interface DataPilotFields
...@@ -233,11 +232,8 @@ interface DataPilotFields ...@@ -233,11 +232,8 @@ interface DataPilotFields
interface DataPilotField interface DataPilotField
{ {
String FieldName SID_PFIELD_NAME String FieldName SID_PFIELD_NAME
[ HelpText = "" ; ]
UINT16 Orientation SID_PFIELD_ORIENTATION UINT16 Orientation SID_PFIELD_ORIENTATION
[ HelpText = "" ; ]
UINT16 Function SID_PFIELD_FUNCTION UINT16 Function SID_PFIELD_FUNCTION
[ HelpText = "" ; ]
} }
...@@ -248,7 +244,6 @@ shell ScTabViewShell ...@@ -248,7 +244,6 @@ shell ScTabViewShell
import Tables "ActiveDocument.Tables"; import Tables "ActiveDocument.Tables";
import BaseSelection; import BaseSelection;
import TableEditView; import TableEditView;
// import SearchSettings;
SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ] SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; ]
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
module module
StarDraw StarDraw
[ [
HelpText( "StarDraw Application" )
SlotIdFile( "sdslots.hrc" ) SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" ) ModulePrefix( "Sd" )
] ]
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
StarDraw StarDraw
[ [
HelpText( "StarDraw Application" )
SlotIdFile( "sdslots.hrc" ) SlotIdFile( "sdslots.hrc" )
ModulePrefix( "Sd" ) ModulePrefix( "Sd" )
] ]
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
StarApplicationFrame StarApplicationFrame
[ [
HelpText( "StarDivision Application Framework" ),
SlotIdFile( "sfx2/sfx.hrc" ) SlotIdFile( "sfx2/sfx.hrc" )
] ]
{ {
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
StarMath StarMath
[ [
HelpText ( "StarMath Application" )
SlotIdFile ( "starmath.hrc" ) SlotIdFile ( "starmath.hrc" )
SlotIdFile ( "editeng/editids.hrc" ) SlotIdFile ( "editeng/editids.hrc" )
SlotIdFile ( "sfx2/sfxsids.hrc" ) SlotIdFile ( "sfx2/sfxsids.hrc" )
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
module module
SvxItems SvxItems
[ [
HelpText( "Svx-Items" )
SlotIdFile( "svxslots.hrc" ) SlotIdFile( "svxslots.hrc" )
] ]
{ {
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
module module
StarWriter StarWriter
[ [
HelpText( "StarWriter Application" )
SlotIdFile( "swslots.hrc" ) SlotIdFile( "swslots.hrc" )
ModulePrefix( "Sw" ) ModulePrefix( "Sw" )
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment