diff options
Diffstat (limited to 'filter/source/msfilter/svxmsbas.cxx')
-rw-r--r-- | filter/source/msfilter/svxmsbas.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/msfilter/svxmsbas.cxx b/filter/source/msfilter/svxmsbas.cxx index 7aabccd91dcd..f4bf514e3ca4 100644 --- a/filter/source/msfilter/svxmsbas.cxx +++ b/filter/source/msfilter/svxmsbas.cxx @@ -116,7 +116,7 @@ int SvxImportMSVBasic::Import( const String& rStorageName, bool SvxImportMSVBasic::ImportForms_Impl(const String& rStorageName, const String& rSubStorageName, BOOL bVBAMode ) { - BOOL bRet = FALSE; + bool bRet = false; // #FIXME VBA_Impl ( or some other new class ) should handle both userforms // and code VBA_Impl aVBA( *xRoot, TRUE ); @@ -379,9 +379,9 @@ BOOL SvxImportMSVBasic::ImportCode_Impl( VBA_Impl& aVBA, const std::vector< Stri catch( Exception& ) { } } } - typedef std::hash_map< rtl::OUString, uno::Any, ::rtl::OUStringHash, + typedef boost::unordered_map< rtl::OUString, uno::Any, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > NameModuleDataHash; - typedef std::hash_map< rtl::OUString, script::ModuleInfo, ::rtl::OUStringHash, + typedef boost::unordered_map< rtl::OUString, script::ModuleInfo, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > NameModuleInfoHash; NameModuleDataHash moduleData; @@ -391,7 +391,7 @@ BOOL SvxImportMSVBasic::ImportCode_Impl( VBA_Impl& aVBA, const std::vector< Stri { StringArray aDecompressed = aVBA.Decompress(i); #if 0 -/* DR 2005-08-11 #124850# Do not filter special characters from module name. +/* Do not filter special characters from module name. Just put the original module name and let the Basic interpreter deal with it. Needed for roundtrip... */ |