[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Mon May 16 03:54:05 PDT 2011


 sw/source/core/doc/notxtfrm.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit d5885f16f6cbed93d1dc96703a084b9aaf9af32d
Author: Roland Baudin <roland65 at free.fr>
Date:   Mon May 16 12:50:56 2011 +0200

    fdo#33781, use anti-aliasing in metafiles when anchored "as char"
    
    Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo at free.fr>

diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 4ffc90d..0293d22 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -818,6 +818,12 @@ void SwNoTxtFrm::PaintPicture( OutputDevice* pOut, const SwRect &rGrfArea ) cons
 
     if( pGrfNd )
     {
+        // Fix for bug #33781
+        if (pShell->Imp()->GetDrawView()->IsAntiAliasing())
+        {
+            pOut->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW );
+        }
+
         sal_Bool bForceSwap = sal_False, bContinue = sal_True;
         GraphicObject& rGrfObj = pGrfNd->GetGrfObj();
 


More information about the Libreoffice-commits mailing list