summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/paintfrm.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index ea91cec4fed7..ba8fdc916207 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -1980,13 +1980,6 @@ void DrawGraphic(
{
if( rSh.GetViewOptions()->IsGraphic() )
{
- // load graphic directly in PDF import
- // #i68953# - also during print load graphic directly.
- if ( (rSh).GetViewOptions()->IsPDFExport() ||
- rSh.GetOut()->GetOutDevType() == OUTDEV_PRINTER )
- {
- pBrush->PurgeMedium();
- }
OUString referer;
SfxObjectShell * sh = rSh.GetDoc()->GetPersist();
if (sh != nullptr && sh->HasName()) {