diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-11 11:23:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-11 14:47:40 +0000 |
commit | bc09385ce297219f1976a9ca41a0b30902b9326d (patch) | |
tree | 5880e99b0428013647add66d3d553ee87fc43c17 /sw | |
parent | af92221020fa2ef4d51fb4301e6878286a37ccca (diff) |
the pStream member makes no sense at all
maybe the PurgeMedia call in sw was meant to be a PurgeGraphic
call originally
(PurgeGraphic since removed by...
commit a22ac2c218870033822120bf0b0d6cfde6ce799f
Author: Caolán McNamara <caolanm@redhat.com>
Date: Thu Jul 14 22:06:29 2011 +0100
callcatcher: remove unused methods)
PurgeMedia releasing the stream makes no difference to the only place its used
which is SvxBrushItem::GetGraphicObject which makes a new one every time
anyway.
the SvxBrushItem assignment operator doesn't change the stream
member of the pImpl which looks utterly nuts, so its a good thing
the stream is not reused
Change-Id: Ie0dee22a6640a6916908fcddbc3541ba85034217
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 7 |
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()) { |