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

remove unused Readonly from .SDI files

Change-Id: I179200ad65492c517ef5e986fd05758896d38813
üst fd97858e
......@@ -94,7 +94,6 @@ struct SvGlobalHashNames
SvStringHashEntryRef MM_union;
SvStringHashEntryRef MM_struct;
SvStringHashEntryRef MM_typedef;
SvStringHashEntryRef MM_Readonly;
SvStringHashEntryRef MM_SlotType;
SvStringHashEntryRef MM_ModulePrefix;
SvStringHashEntryRef MM_DisableFlags;
......@@ -187,7 +186,6 @@ HASH_INLINE(ReadOnlyDoc)
HASH_INLINE(union)
HASH_INLINE(struct)
HASH_INLINE(typedef)
HASH_INLINE(Readonly)
HASH_INLINE(SlotType)
HASH_INLINE(ModulePrefix)
HASH_INLINE(DisableFlags)
......
......@@ -37,7 +37,6 @@ class SvMetaAttribute : public SvMetaReference
SvMetaTypeRef aType;
SvIdentifier aSlotId;
SvBOOL aExport;
SvBOOL aReadonly;
SvBOOL aIsCollection;
SvBOOL aReadOnlyDoc;
SvBOOL aHidden;
......@@ -52,7 +51,6 @@ public:
void SetNewAttribute( bool bNew )
{ bNewAttr = bNew; }
bool GetReadonly() const;
void SetSlotId( const SvIdentifier & rId )
{ aSlotId = rId; }
const SvIdentifier & GetSlotId() const;
......
......@@ -60,12 +60,6 @@ const SvIdentifier & SvMetaAttribute::GetSlotId() const
return static_cast<SvMetaAttribute *>(GetRef())->GetSlotId();
}
bool SvMetaAttribute::GetReadonly() const
{
if( aReadonly.IsSet() || !GetRef() ) return aReadonly;
return static_cast<SvMetaAttribute *>(GetRef())->GetReadonly();
}
bool SvMetaAttribute::GetExport() const
{
if( aExport.IsSet() || !GetRef() ) return aExport;
......@@ -178,15 +172,6 @@ void SvMetaAttribute::ReadAttributesSvIdl( SvIdlDataBase & rBase,
aHidden.ReadSvIdl( SvHash_Hidden(), rInStm );
aIsCollection.ReadSvIdl( SvHash_IsCollection(), rInStm );
aReadOnlyDoc.ReadSvIdl( SvHash_ReadOnlyDoc(), rInStm );
if( aReadonly.ReadSvIdl( SvHash_Readonly(), rInStm ) )
{
if( GetType()->GetType() == TYPE_METHOD )
{
// set error
rBase.SetError( "Readonly in function attribute", rInStm.GetToken() );
rBase.WriteError( rInStm );
}
}
}
sal_uLong SvMetaAttribute::MakeSfx( OStringBuffer& rAttrArray )
......
......@@ -88,7 +88,6 @@ char const * SyntaxStrings[] = {
"\t\tImageReflection",
"\t\tPseudoPrefix = Identifier",
"\t\tPseudoSlots",
"\t\tReadOnly",
"\t\tReadOnlyDoc*",
"\t\tRecordPerSet*, RecordPerItem, NoRecord",
"\t\tRecordAbsolute",
......
......@@ -121,7 +121,6 @@ SvGlobalHashNames::SvGlobalHashNames()
A_ENTRY(union)
A_ENTRY(struct)
A_ENTRY(typedef)
A_ENTRY(Readonly)
A_ENTRY(SlotType)
A_ENTRY(ModulePrefix)
A_ENTRY(DisableFlags)
......
......@@ -36,7 +36,6 @@ interface TableSelection
]
UINT16 Index FID_TAB_INDEX
[
Readonly ;
]
FID_PROTECT_TABLE [ ExecMethod = Execute; StateMethod = GetState; ]
FID_PROTECT_DOC [ ExecMethod = Execute; StateMethod = GetState; ]
......@@ -80,7 +79,6 @@ interface TableDocument
SID_ATTR_YEAR2000 [ StateMethod = GetState; ExecMethod = Execute; ]
SbxObject OLEObjects
[
Readonly ;
IsCollection ;
]
SID_CHART_SOURCE [ ExecMethod = Execute; ]
......
This diff is collapsed.
......@@ -138,7 +138,6 @@ interface TableEditView
{
SbxObject SearchSettings
[
Readonly ;
]
SbxObject Table
......
......@@ -26,7 +26,6 @@ SfxBoolItem VerticalTextFitToSizeTool SID_TEXT_FITTOSIZE_VERTICAL
Toggle = FALSE,
Container = FALSE,
Readonly = FALSE,
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
......@@ -49,7 +48,6 @@ SvxObjectItem RulerObject SID_RULER_OBJECT
/* api: */
Export = TRUE,
IsCollection = FALSE,
Readonly = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
......@@ -71,7 +69,6 @@ SfxBoolItem OutputQualityContrast SID_OUTPUT_QUALITY_CONTRAST
Container = FALSE,
Asynchron;
Readonly = FALSE,
/* config: */
AccelConfig = TRUE,
MenuConfig = TRUE,
......
This diff is collapsed.
This diff is collapsed.
......@@ -168,7 +168,6 @@ SfxStringItem ConfigName SID_TEXT
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = FALSE,
......@@ -250,7 +249,6 @@ SfxInt16Item Graphic SID_GAPHIC_SM
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = FALSE,
......@@ -394,7 +392,6 @@ SfxStringItem ModifyStatus SID_MODIFYSTATUS
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = FALSE,
......@@ -516,7 +513,6 @@ SfxBoolItem RedrawAutomatic SID_AUTO_REDRAW
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = TRUE,
......@@ -618,7 +614,6 @@ SfxBoolItem Textmode SID_TEXTMODE
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = TRUE,
......@@ -640,7 +635,6 @@ SfxStringItem TextStatus SID_TEXTSTATUS
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = FALSE,
......@@ -702,7 +696,6 @@ SfxBoolItem ToolBox SID_TOOLBOX
RecordAbsolute = FALSE,
RecordPerSet;
Readonly = FALSE,
/* config: */
AccelConfig = TRUE,
......
This diff is collapsed.
This diff is collapsed.
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