diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-03 22:53:26 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-04 01:57:14 +0200 |
commit | 56977dfaa541dfc06f2cec921a49f5a68a8dbcb9 (patch) | |
tree | 8beb13123a4b6fe2464188568d84172f415d6519 /sc/source/ui/inc/docsh.hxx | |
parent | 0c9aae91bcbd0cb7b0f0f7e8631aa4aeebb20993 (diff) |
tubes: fix leaking ScCollaboration; add it to ScDocShell
Change-Id: I43c951b5694ad38aa1a2e5da7cc99dfb52685349
Diffstat (limited to 'sc/source/ui/inc/docsh.hxx')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index dc551022d13c..307659222e1b 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -73,6 +73,9 @@ class ScOptSolverSave; class ScSheetSaveData; class ScFlatBoolRowSegments; struct ScColWidthParam; +#ifdef ENABLE_TELEPATHY +class Collaboration; +#endif namespace sfx2 { class FileDialogHelper; } struct DocShell_Impl; @@ -121,6 +124,9 @@ class SC_DLLPUBLIC ScDocShell: public SfxObjectShell, public SfxListener ScSheetSaveData* pSheetSaveData; ScDocShellModificator* pModificator; // #109979#; is used to load XML (created in BeforeXMLLoading and destroyed in AfterXMLLoading) +#ifdef ENABLE_TELEPATHY + Collaboration* mpCollaboration; +#endif SC_DLLPRIVATE void InitItems(); SC_DLLPRIVATE void DoEnterHandler(); @@ -186,6 +192,9 @@ public: using SfxShell::Deactivate; // with sal_Bool bMDI using SfxObjectShell::Print; // print styles +#ifdef ENABLE_TELEPATHY + SC_DLLPRIVATE Collaboration* GetCollaboration(); +#endif virtual void Activate(); virtual void Deactivate(); |