diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-10-13 12:46:12 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-10-13 12:46:12 +0200 |
commit | 64e3c3223e2b31a4fe85212f569f30e2abec0211 (patch) | |
tree | 55cd6ac7094771e64a418396cf83d8e62644fd14 | |
parent | 8667bf02947dbd91043932842564cf2018ef37d6 (diff) |
Fix build problem with the 'attribute' namespace.
-rw-r--r-- | sw/source/ui/docvw/HeaderFooterWin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx b/sw/source/ui/docvw/HeaderFooterWin.cxx index 0c0aa00be06e..1db769a5f3b8 100644 --- a/sw/source/ui/docvw/HeaderFooterWin.cxx +++ b/sw/source/ui/docvw/HeaderFooterWin.cxx @@ -73,7 +73,7 @@ using namespace basegfx; using namespace basegfx::tools; -using namespace drawinglayer; +using namespace drawinglayer::attribute; using namespace drawinglayer::primitive2d; namespace @@ -274,7 +274,7 @@ void SwHeaderFooterWin::Paint( const Rectangle& ) double nAngle = M_PI; if ( m_bIsHeader ) nAngle = 0; - attribute::FillGradientAttribute aFillAttrs( attribute::GRADIENTSTYLE_LINEAR, 0.0, 0.0, 0.0, nAngle, + FillGradientAttribute aFillAttrs( GRADIENTSTYLE_LINEAR, 0.0, 0.0, 0.0, nAngle, aLighterColor, aFillColor, 10 ); aSeq[0] = Primitive2DReference( new FillGradientPrimitive2D( aGradientRect, aFillAttrs ) ); @@ -286,7 +286,7 @@ void SwHeaderFooterWin::Paint( const Rectangle& ) // Create the text primitive B2DVector aFontSize; - attribute::FontAttribute aFontAttr = primitive2d::getFontAttributeFromVclFont( + FontAttribute aFontAttr = getFontAttributeFromVclFont( aFontSize, GetFont(), false, false ); Rectangle aTextRect; |