summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-09-20 14:55:19 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-09-20 14:55:19 +0000
commit17c47cb8ccd2974fc6f569c06ca2c19677cd12b8 (patch)
tree548bb6963085d31882ebc11f88a99208a75b0018 /basic
parent1241d35d8051a0120939b1a5b8647bf4048964c9 (diff)
INTEGRATION: CWS os2port01 (1.28.4); FILE MERGED
2007/09/05 05:41:31 obr 1.28.4.3: RESYNC: (1.33-1.34); FILE MERGED 2007/08/10 10:59:23 obr 1.28.4.2: RESYNC: (1.28-1.33); FILE MERGED 2006/12/28 14:32:27 ydario 1.28.4.1: OS/2 initial import
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods1.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 9801c0056b34..3dd3da6f6efb 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: methods1.cxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: hr $ $Date: 2007-08-03 09:55:57 $
+ * last change: $Author: vg $ $Date: 2007-09-20 15:55:19 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -69,6 +69,12 @@
#include <tools/urlobj.hxx>
#include <osl/file.hxx>
+#ifdef OS2
+#define INCL_DOS
+#define INCL_DOSPROCESS
+#include <svpm.h>
+#endif
+
#if defined(WIN)
#ifndef _SVWIN_H
#include <tools/svwin.h>
@@ -416,9 +422,11 @@ RTLFUNC(GetGUIType)
// 17.7.2000 Make simple solution for testtool / fat office
#if defined (WNT)
rPar.Get(0)->PutInteger( 1 );
+#elif defined OS2
+ rPar.Get(0)->PutInteger( 2 );
#elif defined UNX
rPar.Get(0)->PutInteger( 4 );
-#elif
+#else
rPar.Get(0)->PutInteger( -1 );
#endif
}