Kaydet (Commit) 088afc62 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708645 Uninitialized pointer field

Change-Id: I567b8f129b0afeeab216d796a8df5fa79410fba8
üst f9274eba
......@@ -298,14 +298,28 @@ bool DockingWindow::ImplStartDocking( const Point& rPos )
void DockingWindow::ImplInitDockingWindowData()
{
mpImplData = new ImplData;
mpWindowImpl->mbDockWin = true;
mpFloatWin = NULL;
mpOldBorderWin = NULL;
mpImplData = new ImplData;
mnTrackX = 0;
mnTrackY = 0;
mnTrackWidth = 0;
mnTrackHeight = 0;
mnDockLeft = 0;
mnDockTop = 0;
mnDockRight = 0;
mnDockBottom = 0;
mnFloatBits = 0;
mbDockCanceled = false;
mbDockPrevented = false;
mbFloatPrevented = false;
mbDockable = false;
mbDocking = false;
mbDragFull = false;
mbLastFloatMode = false;
mbStartFloat = false;
mbTrackDock = false;
mbPinned = false;
mbRollUp = false;
mbDockBtn = false;
......@@ -387,7 +401,7 @@ void DockingWindow::ImplLoadRes( const ResId& rResId )
}
DockingWindow::DockingWindow( WindowType nType ) :
Window( nType )
Window(nType)
{
ImplInitDockingWindowData();
}
......
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