summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-08-30 09:08:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-08-30 09:08:37 +0000
commitce16a47856e3bff5a4fca7e59ea9e0ecba4dd2f4 (patch)
treec5164772a3afc0e1ee23e7f354a568ddae6348fd /svx
parent12319d65ef2bdad1809f4e8d6e72effba8121ed4 (diff)
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
Diffstat (limited to 'svx')
-rw-r--r--svx/source/msfilter/svxmsbas.cxx10
1 files changed, 8 insertions, 2 deletions
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;