diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-16 14:07:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-17 12:35:54 +0000 |
commit | 48c15285c52f6554f1aadab6068c076c2139ef89 (patch) | |
tree | 35360eb56a9177528d0de813e20bc5bdc1454a79 /vcl/source/window/syswin.cxx | |
parent | f4804a6cf1fa2a1941f43829a9801638bd456e2c (diff) |
implement loading docking windows from .ui format
Change-Id: I90375232aefbe40412614ca0f30ba467cf393f2e
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r-- | vcl/source/window/syswin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx index 1c258cb81832..538c7c0ff41f 100644 --- a/vcl/source/window/syswin.cxx +++ b/vcl/source/window/syswin.cxx @@ -1028,7 +1028,7 @@ Size SystemWindow::GetOptimalSize() const return Window::CalcWindowSize(aSize); } -void SystemWindow::setPosSizeOnContainee(Size aSize, VclContainer &rBox) +void SystemWindow::setPosSizeOnContainee(Size aSize, Window &rBox) { sal_Int32 nBorderWidth = get_border_width(); @@ -1047,7 +1047,7 @@ IMPL_LINK( SystemWindow, ImplHandleLayoutTimerHdl, void*, EMPTYARG ) return 0; } - VclBox *pBox = static_cast<VclBox*>(GetWindow(WINDOW_FIRSTCHILD)); + Window *pBox = GetWindow(WINDOW_FIRSTCHILD); assert(pBox); setPosSizeOnContainee(GetSizePixel(), *pBox); return 0; |