Hi,here is a small patch for sw that fixes another issue related to bug 33781 that I already fixed last month.
The problem is that a graphic object of type "Draw 8" is not anti-aliased when anchored as char (see test file for example).
IMHO, this patch is safe and acts exactly the same as the previous fix for bug 33781.
Should be nice if it could be commited to the 3-4 branch and / or 3-4-1 branch.
Have a nice day, RB -- X File Explorer http://roland65.free.fr/xfe Toutes Choses http://roland65.free.fr/ttc
From 978bebea673217065e157b94368a9c70097843ee Mon Sep 17 00:00:00 2001 From: Roland Baudin <roland65@free.fr> Date: Fri, 17 Jun 2011 19:39:55 +0000 Subject: [PATCH] Additional fix for bug fdo#33781 --- sw/source/core/doc/notxtfrm.cxx | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx index 520de0c..41023eb 100644 --- a/sw/source/core/doc/notxtfrm.cxx +++ b/sw/source/core/doc/notxtfrm.cxx @@ -947,6 +947,12 @@ void SwNoTxtFrm::PaintPicture( OutputDevice* pOut, const SwRect &rGrfArea ) cons } else if( pOLENd ) { + // Fix for bug fdo#33781 + if (pShell->Imp()->GetDrawView()->IsAntiAliasing()) + { + pOut->SetAntialiasing( ANTIALIASING_ENABLE_B2DDRAW ); + } + // #i99665# // Adjust AntiAliasing mode at output device for chart OLE const sal_uInt16 nFormerAntialiasingAtOutput( pOut->GetAntialiasing() ); -- 1.7.5.4
Attachment:
test.odt
Description: application/vnd.oasis.opendocument.text