[Libreoffice-commits] core.git: sw/source

Michael Stahl mstahl at redhat.com
Tue Apr 23 13:43:20 PDT 2013


 sw/source/core/doc/notxtfrm.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 954d695827431a5badd1a993d8f364c669ca9c9c
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Apr 23 22:27:57 2013 +0200

    fdo#60280: sw: restore anti-aliasing for all OLE objects
    
    The OLE case in SwNoTxtFrm::PaintPicture() was mis-merged to modify the
    anti-aliasing always but reset it only for Charts.
    
    (regression from 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70)
    
    Change-Id: I0d740e621c3fd71f308d980581edb3c16308c06e

diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 06b6ee3..ced0f10 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -1065,8 +1065,7 @@ void SwNoTxtFrm::PaintPicture( OutputDevice* pOut, const SwRect &rGrfArea ) cons
         }
 
         // see #i99665#
-        if ( pOLENd->IsChart() &&
-                pShell->Imp()->GetDrawView()->IsAntiAliasing() )
+        if (pShell->Imp()->GetDrawView()->IsAntiAliasing())
         {
             pOut->SetAntialiasing( nFormerAntialiasingAtOutput );
         }


More information about the Libreoffice-commits mailing list