summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-24 13:39:29 +0200
committerNoel Grandin <noel@peralex.com>2015-08-25 08:39:03 +0200
commit219b50a284a9fab6e5eb72efee54a72e15ac1bec (patch)
treea40f8c6bb599f2746a3a250bfb74c4b315eb33c5 /include
parentmake eChildAlignment private in SfxChildWindow (diff)
downloadcore-219b50a284a9fab6e5eb72efee54a72e15ac1bec.tar.gz
core-219b50a284a9fab6e5eb72efee54a72e15ac1bec.zip
make pWindow private in SfxChildWindow
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/childwin.hxx14
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: