diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-28 22:33:29 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-05-29 21:59:48 -0400 |
commit | a916b6ff7fdf1bcb1182e72e4a5bf2f901c698da (patch) | |
tree | 3ce23438a1975e9f46988db9e1f9fadd64d9da4a /include | |
parent | 5a827671d16ff5e927fc3dd4a01e6c32ea05d891 (diff) |
Detach all DocBasicItem objects upon process termination.
To prevent rogue DocBasicItem objects (which are global objects) from
attempting to stop listening after the main app is dead.
Change-Id: I68a667137ca4e0eff18278f4d2d5dd67466eaf34
Diffstat (limited to 'include')
-rw-r--r-- | include/basic/sbstar.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index 2eec72bae613..cb1d49a72bf4 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -174,6 +174,8 @@ public: static ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetModelFromBasic( SbxObject* pBasic ); + + static void DetachAllDocBasicItems(); }; typedef tools::SvRef<StarBASIC> StarBASICRef; |