[PATCH libreoffice-4-0-3] fdo#60280: sw: restore anti-aliasing for all OLE objects

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Wed Apr 24 02:51:37 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/3594

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/94/3594/1

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
(cherry picked from commit 954d695827431a5badd1a993d8f364c669ca9c9c)
Reviewed-on: https://gerrit.libreoffice.org/3589
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
(cherry picked from commit f3e8a9649ac653eafaf8c5fa57e20d3dbe90d82c)
---
M sw/source/core/doc/notxtfrm.cxx
1 file changed, 1 insertion(+), 2 deletions(-)



diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 914e189..a839420 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -1143,8 +1143,7 @@
         }
 
         // see #i99665#
-        if ( pOLENd->IsChart() &&
-                pShell->Imp()->GetDrawView()->IsAntiAliasing() )
+        if (pShell->Imp()->GetDrawView()->IsAntiAliasing())
         {
             pOut->SetAntialiasing( nFormerAntialiasingAtOutput );
         }

-- 
To view, visit https://gerrit.libreoffice.org/3594
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d740e621c3fd71f308d980581edb3c16308c06e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0-3
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>
Gerrit-Reviewer: Fridrich Strba <fridrich at documentfoundation.org>



More information about the LibreOffice mailing list