diff options
Diffstat (limited to 'filter/source/msfilter/msvbasic.hxx')
-rw-r--r-- | filter/source/msfilter/msvbasic.hxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/filter/source/msfilter/msvbasic.hxx b/filter/source/msfilter/msvbasic.hxx index 5b361518c0f5..171671e8cd5c 100644 --- a/filter/source/msfilter/msvbasic.hxx +++ b/filter/source/msfilter/msvbasic.hxx @@ -30,16 +30,12 @@ #ifndef _MSVBASIC_HXX #define _MSVBASIC_HXX -#ifdef _SOLAR_H #include <tools/solar.h> -#endif #include <tools/debug.hxx> #include <sot/storage.hxx> #include <tools/dynary.hxx> -#ifndef __SGI_STL_VECTOR #include <vector> -#endif -#include<map> +#include <map> /* class VBA: * The VBA class provides a set of methods to handle Visual Basic For @@ -63,13 +59,12 @@ DECLARE_DYNARRAY(StringArray,String *) // #117718# define internal types to distinguish between // module types, form, class & normal // #i37965# DR 2004-12-03: add "Document", used in Excel for macros attached to sheet -enum ModuleType { Unknown = 0, Normal, Class, Form, Document }; // #117718# define map to hold types of module // - +typedef sal_Int32 ModType; typedef ::std::map< UniString, - ModuleType > ModuleTypeHash; + ModType > ModuleTypeHash; class VBA_Impl { @@ -90,8 +85,7 @@ public: void Output(int len, const sal_uInt8 *data); // // #117718# member map of module names to types of module - ModuleType GetModuleType( const UniString& rModuleName ); - + ModType GetModuleType( const UniString& rModuleName ); std::vector<String> maReferences; private: struct VBAOffset_Impl |