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 /include | |
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 'include')
-rw-r--r-- | include/editeng/brushitem.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index cbdb89c8ed40..153590961ad1 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -97,8 +97,6 @@ public: SvxGraphicPosition GetGraphicPos() const { return eGraphicPos; } - void PurgeMedium() const; - sal_Int32 GetShadingValue() const { return nShadingValue; } const Graphic* GetGraphic(OUString const & referer = OUString()/*TODO*/) const; const GraphicObject* GetGraphicObject(OUString const & referer = OUString()/*TODO*/) const; |