From 7c0bc672791b9738aac94109ea530106c6a84682 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Nov 2016 11:49:34 +0000 Subject: why have a pimpl with somethings in it and somethings not Change-Id: I6151defcd9dddf4582ecf8d5952f6f8a825c545a --- include/editeng/brushitem.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/editeng/brushitem.hxx') diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index 153590961ad1..45c5a3f5680d 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -42,12 +42,13 @@ enum SvxGraphicPosition GPOS_AREA, GPOS_TILED }; -class SvxBrushItem_Impl; class EDITENG_DLLPUBLIC SvxBrushItem : public SfxPoolItem { Color aColor; sal_Int32 nShadingValue; - std::unique_ptr pImpl; + mutable std::unique_ptr xGraphicObject; + sal_Int8 nGraphicTransparency; //contains a percentage value which is + //copied to the GraphicObject when necessary OUString maStrLink; OUString maStrFilter; SvxGraphicPosition eGraphicPos; @@ -104,7 +105,7 @@ public: const OUString& GetGraphicFilter() const { return maStrFilter; } //UUUU get graphic transparency in percent - sal_Int8 getGraphicTransparency() const; + sal_Int8 getGraphicTransparency() const { return nGraphicTransparency; } void setGraphicTransparency(sal_Int8 nNew); void SetGraphicPos( SvxGraphicPosition eNew ); -- cgit