summaryrefslogtreecommitdiff
path: root/include/svx/sdshcitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sdshcitm.hxx')
-rw-r--r--include/svx/sdshcitm.hxx11
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