From bc09385ce297219f1976a9ca41a0b30902b9326d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Nov 2016 11:23:17 +0000 Subject: the pStream member makes no sense at all MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit maybe the PurgeMedia call in sw was meant to be a PurgeGraphic call originally (PurgeGraphic since removed by... commit a22ac2c218870033822120bf0b0d6cfde6ce799f Author: Caolán McNamara 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 --- include/editeng/brushitem.hxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/editeng/brushitem.hxx') 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; -- cgit