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

VclPtr: one ref too many

Change-Id: I84cf33c8e68c41223aaa12208a2845675bbbfd5a
üst efecaf03
......@@ -494,8 +494,9 @@ SvxRuler* DrawViewShell::CreateHRuler (::sd::Window* pWin, bool bIsFirst)
else
aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER;
pRuler = new Ruler (*this, GetParentWindow(), pWin, nFlags,
pRuler = VclPtr<Ruler>::Create(*this, GetParentWindow(), pWin, nFlags,
GetViewFrame()->GetBindings(), aWBits);
pRuler->SetSourceUnit(pWin->GetMapMode().GetMapUnit());
// Metric ...
......
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