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 /sw/source/uibase/misc | |
parent | a9ea1295a668feca4bfb9b2a53a92890177b5371 (diff) |
make pWindow private in SfxChildWindow
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r-- | sw/source/uibase/misc/redlndlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx index 3c574200454b..9e9728878017 100644 --- a/sw/source/uibase/misc/redlndlg.cxx +++ b/sw/source/uibase/misc/redlndlg.cxx @@ -67,9 +67,9 @@ SwRedlineAcceptChild::SwRedlineAcceptChild( vcl::Window* _pParent, SfxChildWinInfo* pInfo ) : SwChildWinWrapper( _pParent, nId ) { - pWindow = VclPtr<SwModelessRedlineAcceptDlg>::Create( pBindings, this, _pParent); + SetWindow( VclPtr<SwModelessRedlineAcceptDlg>::Create( pBindings, this, _pParent) ); - static_cast<SwModelessRedlineAcceptDlg *>(pWindow.get())->Initialize(pInfo); + static_cast<SwModelessRedlineAcceptDlg *>(GetWindow())->Initialize(pInfo); } // newly initialise dialog after document switch |