Kaydet (Commit) 1dbaaa73 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Unneeded 'this->', kill it.

Change-Id: Ia032ee884b98db617699e84e9c0c7980e7df0fc3
üst 59c37ab4
...@@ -37,22 +37,22 @@ SidebarChildWindow::SidebarChildWindow ( ...@@ -37,22 +37,22 @@ SidebarChildWindow::SidebarChildWindow (
SfxChildWinInfo* pInfo) SfxChildWinInfo* pInfo)
: SfxChildWindow(pParentWindow, nId) : SfxChildWindow(pParentWindow, nId)
{ {
this->pWindow = new SidebarDockingWindow( pWindow = new SidebarDockingWindow(
pBindings, pBindings,
*this, *this,
pParentWindow, pParentWindow,
WB_STDDOCKWIN | WB_OWNERDRAWDECORATION | WB_CLIPCHILDREN | WB_SIZEABLE | WB_3DLOOK | WB_ROLLABLE); WB_STDDOCKWIN | WB_OWNERDRAWDECORATION | WB_CLIPCHILDREN | WB_SIZEABLE | WB_3DLOOK | WB_ROLLABLE);
eChildAlignment = SFX_ALIGN_RIGHT; eChildAlignment = SFX_ALIGN_RIGHT;
this->pWindow->SetHelpId(HID_SIDEBAR_WINDOW); pWindow->SetHelpId(HID_SIDEBAR_WINDOW);
this->pWindow->SetOutputSizePixel(Size(GetDefaultWidth(this->pWindow), 450)); pWindow->SetOutputSizePixel(Size(GetDefaultWidth(pWindow), 450));
SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(this->pWindow); SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(pWindow);
if (pDockingParent != NULL) if (pDockingParent != NULL)
pDockingParent->Initialize(pInfo); pDockingParent->Initialize(pInfo);
SetHideNotDelete(true); SetHideNotDelete(true);
this->pWindow->Show(); pWindow->Show();
} }
sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window* pWindow) sal_Int32 SidebarChildWindow::GetDefaultWidth (vcl::Window* pWindow)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment