From ce16a47856e3bff5a4fca7e59ea9e0ecba4dd2f4 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 30 Aug 2007 09:08:37 +0000 Subject: INTEGRATION: CWS npower7 (1.20.4); FILE MERGED 2007/05/02 09:16:56 npower 1.20.4.1: #i76822# set 'Option ClassModule' when importing a class module --- svx/source/msfilter/svxmsbas.cxx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'svx') diff --git a/svx/source/msfilter/svxmsbas.cxx b/svx/source/msfilter/svxmsbas.cxx index 89716ab79260..362866880c18 100644 --- a/svx/source/msfilter/svxmsbas.cxx +++ b/svx/source/msfilter/svxmsbas.cxx @@ -4,9 +4,9 @@ * * $RCSfile: svxmsbas.cxx,v $ * - * $Revision: 1.21 $ + * $Revision: 1.22 $ * - * last change: $Author: hr $ $Date: 2007-06-27 18:35:58 $ + * last change: $Author: vg $ $Date: 2007-08-30 10:08:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -368,8 +368,14 @@ BOOL SvxImportMSVBasic::ImportCode_Impl( const String& rStorageName, break; } static ::rtl::OUString sVBAOption( RTL_CONSTASCII_USTRINGPARAM( "Option VBASupport 1\n" ) ); + static ::rtl::OUString sClassOption( RTL_CONSTASCII_USTRINGPARAM( "Option ClassModule\n" ) ); if ( !bAsComment ) + { modeTypeComment = modeTypeComment + sVBAOption; + if ( mType == Class ) + modeTypeComment = modeTypeComment + sClassOption; + + } String sModule(sBasicModule); //#i52606# no need to split Macros in 64KB blocks any more! String sTemp; -- cgit