diff options
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/childwin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index f68fa9fbf740..3059d38a5cbb 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -148,7 +148,7 @@ class SFX2_DLLPUBLIC SfxChildWindow VclPtr<vcl::Window> pWindow; // actual contents SfxChildAlignment eChildAlignment; // Current css::drawing::Alignment std::unique_ptr< SfxChildWindow_Impl> pImpl; // Implementation data - SfxChildWindowContext* pContext; // With context-sensitive ChildWindows: + std::unique_ptr<SfxChildWindowContext> pContext; // With context-sensitive ChildWindows: // Another window in pWindow SAL_DLLPRIVATE void ClearWorkwin(); @@ -206,7 +206,7 @@ public: SAL_DLLPRIVATE SfxChildWindowContext* GetContext_Impl() const - { return pContext; } + { return pContext.get(); } SAL_DLLPRIVATE void SetFactory_Impl( SfxChildWinFactory* ); }; |