summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-05-28 22:33:29 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-05-29 22:00:48 -0400
commit9832a2482f157d34f7323327dc20eaf5e11da3fd (patch)
tree6e03b6b7eb4f6144184007486aa6797802cb04db /include
parentad9e67a7c08f9ceb3b4c228e3d9241c4ed54a7c8 (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 (cherry picked from commit a916b6ff7fdf1bcb1182e72e4a5bf2f901c698da)
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbstar.hxx2
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;