summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Baudin <roland65@free.fr>2011-05-16 12:50:56 +0200
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-05-16 12:50:56 +0200
commitd5885f16f6cbed93d1dc96703a084b9aaf9af32d (patch)
tree4621e0ec30d25c5e6385b3924e921f16ee31c062
parent5f64fa0976c59fcbb7c199d9dac856f08f99e2a4 (diff)
fdo#33781, use anti-aliasing in metafiles when anchored "as char"
Signed-off-by: Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>
-rw-r--r--sw/source/core/doc/notxtfrm.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 4ffc90d8fd..0293d22905 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();