summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-08-30 08:58:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-08-30 08:58:14 +0000
commit17f7849bc90c3a7596ebd285e6de8f8273e24897 (patch)
tree52788973c63d3d4ccd73b2894259e8e9dbcdba0a /basic/inc
parente7fcec87e017ae2ff23792540b9f8157320dec2d (diff)
INTEGRATION: CWS npower7 (1.2.12); FILE MERGED
2007/05/02 09:44:21 npower 1.2.12.1: #i76819#
Diffstat (limited to 'basic/inc')
-rw-r--r--basic/inc/basic/basmgr.hxx9
-rw-r--r--basic/inc/basic/sbstar.hxx8
2 files changed, 10 insertions, 7 deletions
diff --git a/basic/inc/basic/basmgr.hxx b/basic/inc/basic/basmgr.hxx
index 3bd3e638da39..691515d4ec39 100644
--- a/basic/inc/basic/basmgr.hxx
+++ b/basic/inc/basic/basmgr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: basmgr.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 12:50:02 $
+ * last change: $Author: vg $ $Date: 2007-08-30 09:58:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -167,6 +167,7 @@ private:
String aName;
String maStorageName;
BOOL bBasMgrModified;
+ BOOL mbDocMgr;
BasicManagerImpl* mpImpl;
@@ -190,8 +191,8 @@ protected:
public:
TYPEINFO();
- BasicManager( SotStorage& rStorage, const String& rBaseURL, StarBASIC* pParentFromStdLib = NULL, String* pLibPath = NULL );
- BasicManager( StarBASIC* pStdLib, String* pLibPath = NULL );
+ BasicManager( SotStorage& rStorage, const String& rBaseURL, StarBASIC* pParentFromStdLib = NULL, String* pLibPath = NULL, BOOL bDocMgr = FALSE );
+ BasicManager( StarBASIC* pStdLib, String* pLibPath = NULL, BOOL bDocMgr = FALSE );
/** deletes the given BasicManager instance
diff --git a/basic/inc/basic/sbstar.hxx b/basic/inc/basic/sbstar.hxx
index e1606ac69509..f83f1a3d1529 100644
--- a/basic/inc/basic/sbstar.hxx
+++ b/basic/inc/basic/sbstar.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbstar.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: vg $ $Date: 2007-04-11 12:52:47 $
+ * last change: $Author: vg $ $Date: 2007-08-30 09:58:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -81,6 +81,7 @@ class StarBASIC : public SbxObject
Link aBreakHdl; // Breakpoint-Handler
BOOL bNoRtl; // TRUE: RTL nicht durchsuchen
BOOL bBreak; // TRUE: Break, sonst Step
+ BOOL bDocBasic;
BasicLibInfo* pLibInfo; // Infoblock fuer Basic-Manager
SbLanguageMode eLanguageMode; // LanguageMode des Basic-Objekts
protected:
@@ -104,7 +105,7 @@ public:
SBX_DECL_PERSIST_NODATA(SBXCR_SBX,SBXID_BASIC,1);
TYPEINFO();
- StarBASIC( StarBASIC* pParent = NULL );
+ StarBASIC( StarBASIC* pParent = NULL, BOOL bIsDocBasic = FALSE );
// #51727 SetModified ueberladen, damit der Modified-
// Zustand nicht an den Parent weitergegeben wird.
@@ -203,6 +204,7 @@ public:
static void StaticEnableReschedule( BOOL bReschedule );
SbxObjectRef getRTL( void ) { return pRtl; }
+ BOOL IsDocBasic() { return bDocBasic; }
};
#ifndef __SB_SBSTARBASICREF_HXX