diff options
author | Andreas Bregas <ab@openoffice.org> | 2010-09-20 09:48:40 +0200 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2010-09-20 09:48:40 +0200 |
commit | 36d96fd76fa6843b42655a78db872c8c83ac69e9 (patch) | |
tree | c46d3d207c87ce022568777b9bcf27d988e26e3d /basic/inc | |
parent | 6e0c6aa8486d100c0705084801775d783a6cfbea (diff) |
mib19: #163651# Fixed initialize handling for form modules
Diffstat (limited to 'basic/inc')
-rw-r--r-- | basic/inc/basic/sbobjmod.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/basic/inc/basic/sbobjmod.hxx b/basic/inc/basic/sbobjmod.hxx index a8e650e43d87..49fefb79309e 100644 --- a/basic/inc/basic/sbobjmod.hxx +++ b/basic/inc/basic/sbobjmod.hxx @@ -89,7 +89,7 @@ public: SbUserFormModule( const String& rName, const com::sun::star::script::ModuleInfo& mInfo, bool bIsVBACompat ); virtual ~SbUserFormModule(); virtual SbxVariable* Find( const XubString& rName, SbxClassType t ); - void ResetApiObj(); + void ResetApiObj( bool bTriggerTerminateEvent = true ); void Unload(); void Load(); void triggerMethod( const String& ); @@ -101,6 +101,11 @@ public: void triggerLayoutEvent(); void triggerResizeEvent(); + bool getInitState( void ) + { return mbInit; } + void setInitState( bool bInit ) + { mbInit = bInit; } + class SbUserFormModuleInstance* CreateInstance(); }; |