diff options
Diffstat (limited to 'rsc/inc/rscconst.hxx')
-rw-r--r-- | rsc/inc/rscconst.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/rsc/inc/rscconst.hxx b/rsc/inc/rscconst.hxx index 70612310fbab..773afd233a0a 100644 --- a/rsc/inc/rscconst.hxx +++ b/rsc/inc/rscconst.hxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,15 +46,15 @@ public: RscConst( Atom nId, sal_uInt32 nTypId ); ~RscConst(); virtual RSCCLASS_TYPE GetClassType() const; - sal_uInt32 GetEntryCount() const { return nEntries; } + sal_uInt32 GetEntryCount() const { return nEntries; } // Die erlaubten Werte werden gesetzt ERRTYPE SetConstant( Atom nVarName, INT32 lValue ); Atom GetConstant( sal_uInt32 nPos ); - BOOL GetConstValue( Atom nConstId, INT32 * pVal ) const; - BOOL GetValueConst( INT32 nValue, Atom * pConstId ) const; + BOOL GetConstValue( Atom nConstId, INT32 * pVal ) const; + BOOL GetValueConst( INT32 nValue, Atom * pConstId ) const; sal_uInt32 GetConstPos( Atom nConstId ); - virtual void WriteSyntax( FILE * fOutput, RscTypCont * pTC ); - virtual void WriteRcAccess( FILE * fOutput, RscTypCont * pTC, + virtual void WriteSyntax( FILE * fOutput, RscTypCont * pTC ); + virtual void WriteRcAccess( FILE * fOutput, RscTypCont * pTC, const char * ); }; @@ -64,13 +64,13 @@ class RscEnum : public RscConst { sal_uInt32 nValue; // Position der Konstanten im Array BOOL bDflt; // Ist Default }; - sal_uInt32 nSize; + sal_uInt32 nSize; public: RscEnum( Atom nId, sal_uInt32 nTypId ); RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, BOOL ); sal_uInt32 Size(){ return nSize; } - virtual void SetToDefault( const RSCINST & rInst ) + virtual void SetToDefault( const RSCINST & rInst ) { ((RscEnumInst*)rInst.pData)->bDflt = TRUE; } @@ -103,7 +103,7 @@ public: RscLangEnum(); void Init( RscNameTable& rNames ); - + Atom AddLanguage( const char* pLang, RscNameTable& rNames ); }; |