diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-24 13:39:29 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-25 08:39:03 +0200 |
commit | 219b50a284a9fab6e5eb72efee54a72e15ac1bec (patch) | |
tree | a40f8c6bb599f2746a3a250bfb74c4b315eb33c5 /include | |
parent | a9ea1295a668feca4bfb9b2a53a92890177b5371 (diff) |
make pWindow private in SfxChildWindow
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/childwin.hxx | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index 3cc607ed1291..00d87054251e 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -150,18 +150,16 @@ class SFX2_DLLPUBLIC SfxChildWindow { VclPtr<vcl::Window> pParent; // parent window ( Topwindow ) sal_uInt16 nType; // ChildWindow-Id - -protected: - VclPtr<vcl::Window> pWindow; // actual contents - -private: - SfxChildAlignment eChildAlignment; // Current ::com::sun::star::drawing::Alignment - SfxChildWindow_Impl* pImp; // Implementation data - SfxChildWindowContext* pContext; // With context-sensitive ChildWindows: + VclPtr<vcl::Window> pWindow; // actual contents + SfxChildAlignment eChildAlignment; // Current ::com::sun::star::drawing::Alignment + SfxChildWindow_Impl* pImp; // Implementation data + SfxChildWindowContext* pContext; // With context-sensitive ChildWindows: // Annother window in pWindow SAL_DLLPRIVATE void ClearWorkwin(); protected: + void SetWindow(const VclPtr<vcl::Window>& p) { pWindow = p; } + SfxChildWindow(vcl::Window *pParentWindow, sal_uInt16 nId); public: |