summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-04-23 22:27:57 +0200
committerMichael Stahl <mstahl@redhat.com>2013-04-23 22:40:15 +0200
commit954d695827431a5badd1a993d8f364c669ca9c9c (patch)
treed0f7cafcdb9087386c4aed39ee4ccd9b661adacc /sw
parentb9337e22ce1dbf2eba0e8c8db294ae99f4111f91 (diff)
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
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/notxtfrm.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 06b6ee389b13..ced0f108a3ee 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 );
}