summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/HeaderFooterWin.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-17 15:11:54 +0200
committerNoel Grandin <noel@peralex.com>2015-04-17 15:11:54 +0200
commit0269ef901119635fa809245698c985b30e648ef4 (patch)
treebeb46403f2675dc15bfd02c1c5bc727ba892c1c6 /sw/source/uibase/docvw/HeaderFooterWin.cxx
parent5459c4a7312ce7bc0326978f4164441e76e5d5a4 (diff)
sw: convert new to ::Create.
Change-Id: Iab0fc73540b3c7a60c64296dce86b70c1e02cf09
Diffstat (limited to 'sw/source/uibase/docvw/HeaderFooterWin.cxx')
-rw-r--r--sw/source/uibase/docvw/HeaderFooterWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index e96a838d79c6..61dcbd21964e 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -143,7 +143,7 @@ SwHeaderFooterWin::SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPag
SetMapMode( MapMode ( MAP_PIXEL ) );
// Create the line control
- m_pLine = new SwDashedLine( GetEditWin(), &SwViewOption::GetHeaderFooterMarkColor );
+ m_pLine = VclPtr<SwDashedLine>::Create( GetEditWin(), &SwViewOption::GetHeaderFooterMarkColor );
m_pLine->SetZOrder( this, WINDOW_ZORDER_BEFOR );
// Create and set the PopupMenu