diff options
author | Roland Baudin <roland65@free.fr> | 2011-05-16 12:50:56 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-05-16 12:50:56 +0200 |
commit | d5885f16f6cbed93d1dc96703a084b9aaf9af32d (patch) | |
tree | 4621e0ec30d25c5e6385b3924e921f16ee31c062 | |
parent | 5f64fa0976c59fcbb7c199d9dac856f08f99e2a4 (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.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 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(); |