summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tabvwsh.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-05-08 11:33:33 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-05-08 12:24:05 +0100
commit087f7fe50b03307e2d9202365886e8c37bd7e6e3 (patch)
tree759c053074ac07f08c993203bf08e9011483082f /sc/source/ui/inc/tabvwsh.hxx
parentece4466e4ff5f89aad0ec88b39269cfac0dc76c3 (diff)
tdf#91125 - nail a clutch of calc modeless dialog lifecycle issues.
Good idea to hold a reference after creation. Change-Id: I450c415259c4011c8b3fb8be715e55643765d9db
Diffstat (limited to 'sc/source/ui/inc/tabvwsh.hxx')
-rw-r--r--sc/source/ui/inc/tabvwsh.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx
index 4bc50e5ed59a..04e21a965ada 100644
--- a/sc/source/ui/inc/tabvwsh.hxx
+++ b/sc/source/ui/inc/tabvwsh.hxx
@@ -356,9 +356,9 @@ public:
void DeactivateOle();
SC_DLLPUBLIC static ScTabViewShell* GetActiveViewShell();
- SfxModelessDialog* CreateRefDialog( SfxBindings* pB, SfxChildWindow* pCW,
- SfxChildWinInfo* pInfo,
- vcl::Window* pParent, sal_uInt16 nSlotId );
+ VclPtr<SfxModelessDialog> CreateRefDialog( SfxBindings* pB, SfxChildWindow* pCW,
+ SfxChildWinInfo* pInfo,
+ vcl::Window* pParent, sal_uInt16 nSlotId );
void UpdateOleZoom();
inline SbxObject* GetScSbxObject() const