diff options
author | August Sodora <augsod@gmail.com> | 2012-01-15 23:47:54 -0500 |
---|---|---|
committer | August Sodora <augsod@gmail.com> | 2012-01-16 11:37:34 -0500 |
commit | 0ced88ad440995e1f84ba0712df1092bfc225c84 (patch) | |
tree | a6b6ce974f746d5bb285d616226571c0071ebca8 /basic/inc | |
parent | 2a3d61a0be85301c2629cb561730aa73741aa428 (diff) |
Remove unused enum SbLanguageMode
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/basic/sbdef.hxx | 9 | ||||
-rw-r--r-- | basic/inc/basic/sbstar.hxx | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/basic/inc/basic/sbdef.hxx b/basic/inc/basic/sbdef.hxx index 82dfd6511581..fefdc374596e 100644 --- a/basic/inc/basic/sbdef.hxx +++ b/basic/inc/basic/sbdef.hxx @@ -34,15 +34,6 @@ #include <rtl/ustring.hxx> #include "basicdllapi.h" -// Active language -enum SbLanguageMode -{ - SB_LANG_GLOBAL, // As in SbiGlobals struct - SB_LANG_BASIC, // StarBasic (Default) - SB_LANG_VBSCRIPT, // Visual-Basic-Script - SB_LANG_JAVASCRIPT // JavaScript -}; - // Returns type name for Basic type, array flag is ignored // implementation: basic/source/runtime/methods.cxx BASIC_DLLPUBLIC String getBasicTypeName( SbxDataType eType ); diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx index f71bf51fc48a..dc6622e7f274 100644 --- a/basic/inc/basic/sbstar.hxx +++ b/basic/inc/basic/sbstar.hxx @@ -74,7 +74,6 @@ class BASIC_DLLPUBLIC StarBASIC : public SbxObject sal_Bool bDocBasic; sal_Bool bVBAEnabled; BasicLibInfo* pLibInfo; // Info block for basic manager - SbLanguageMode eLanguageMode; // LanguageMode of the basic object sal_Bool bQuit; SbxObjectRef pVBAGlobals; @@ -161,11 +160,6 @@ public: static sal_Bool IsCompilerError(); static sal_uInt16 GetVBErrorCode( SbError nError ); static SbError GetSfxFromVBError( sal_uInt16 nError ); - // Local settings - void SetLanguageMode( SbLanguageMode eLangMode ) - { eLanguageMode = eLangMode; } - - // Specific for break handler sal_Bool IsBreak() const { return bBreak; } static Link GetGlobalErrorHdl(); |