sw/source/ui/docvw/HeaderFooterWin.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 64e3c3223e2b31a4fe85212f569f30e2abec0211
Author: Fridrich Å trba <fridrich.st...@bluewin.ch>
Date:   Thu Oct 13 12:46:12 2011 +0200

    Fix build problem with the 'attribute' namespace.

diff --git a/sw/source/ui/docvw/HeaderFooterWin.cxx 
b/sw/source/ui/docvw/HeaderFooterWin.cxx
index 0c0aa00..1db769a 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;
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to