diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-03-08 14:00:26 +0100 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2015-03-11 07:04:59 +0100 |
commit | d4a1e2a491cb50c8fee072458aa2c676c2f1a0fd (patch) | |
tree | 05115c111f7d3341adca675019dd59a19f2cd065 /include | |
parent | ffe060e954d172f8603a4e9f625445e49132c7bf (diff) |
Avoid casting SvxBrushItem:nShadingValue
Change-Id: Ida97950286bc69154d10cbc9b5ac699e7ad608ad
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/brushitem.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index 9a7bb0f6bedd..fee7628e32f3 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -104,13 +104,13 @@ public: void PurgeMedium() const; - sal_uInt32 GetShadingValue() const { return nShadingValue; } + sal_Int32 GetShadingValue() const { return nShadingValue; } const Graphic* GetGraphic(OUString const & referer = OUString()/*TODO*/) const; const GraphicObject* GetGraphicObject(OUString const & referer = OUString()/*TODO*/) const; OUString GetGraphicLink() const { return maStrLink; } OUString GetGraphicFilter() const { return maStrFilter; } - void SetShadingValue( const sal_uInt32 nNew ); + void SetShadingValue( const sal_Int32 nNew ); //UUUU get graphic transparency in percent sal_Int8 getGraphicTransparency() const; |