diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 18:18:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 18:18:08 +0200 |
commit | 759f5d24b09dda2bcd41274f0b9cd9222180c194 (patch) | |
tree | 79012f2a779332a714241e77427833b3103905bd /include | |
parent | 69dd9c669a4021b5202dad7030bc4738145de661 (diff) |
Consistency around XColorItem in svx/sdshcitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sdshcitm.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/svx/sdshcitm.hxx b/include/svx/sdshcitm.hxx index 63ea604698e0..01c474127c8d 100644 --- a/include/svx/sdshcitm.hxx +++ b/include/svx/sdshcitm.hxx @@ -22,14 +22,9 @@ #include <svx/xcolit.hxx> #include <svx/svddef.hxx> -class SdrShadowColorItem: public XColorItem -{ -public: - SdrShadowColorItem(const Color& rTheColor) - : XColorItem(SDRATTR_SHADOWCOLOR, rTheColor) - { - } -}; +inline XColorItem makeSdrShadowColorItem(const Color& rTheColor) { + return XColorItem(SDRATTR_SHADOWCOLOR, rTheColor); +} #endif |