summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/HeaderFooterWin.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-04 15:20:22 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-04 15:23:59 +0100
commit3b5a556fe6b1de0e71af2fae554e48b0553e750c (patch)
treebc9411d4ac64a18319f6a8028ef7aa651ae59b8b /sw/source/ui/docvw/HeaderFooterWin.cxx
parent2cd98654de1975a64661efb1efb99eb8f081bd68 (diff)
Page Break, Header/Footer: fixed the line color change if config changes
Diffstat (limited to 'sw/source/ui/docvw/HeaderFooterWin.cxx')
-rw-r--r--sw/source/ui/docvw/HeaderFooterWin.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx
index df39978d590f..180b975d7fc5 100644
--- a/sw/source/ui/docvw/HeaderFooterWin.cxx
+++ b/sw/source/ui/docvw/HeaderFooterWin.cxx
@@ -163,8 +163,7 @@ SwHeaderFooterWin::SwHeaderFooterWin( SwEditWin* pEditWin, const SwPageFrm* pPag
SetMapMode( MapMode ( MAP_PIXEL ) );
// Create the line control
- basegfx::BColor aColor = SwViewOption::GetHeaderFooterMarkColor().getBColor();
- m_pLine = new SwDashedLine( GetEditWin(), aColor );
+ m_pLine = new SwDashedLine( GetEditWin(), &SwViewOption::GetHeaderFooterMarkColor );
m_pLine->SetZOrder( this, WINDOW_ZORDER_BEFOR );
// Create and set the PopupMenu