summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-08-18 17:37:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-08-18 17:38:08 +0200
commit69dd9c669a4021b5202dad7030bc4738145de661 (patch)
tree5d9e55de9eb3158c1699df330e5c8527e68d61ca /include
parent65b09ff5975f1c53ed33870ffa974fbf8b94279d (diff)
Consistency around SdrPercentItem in svx/sdshtitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in 6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and 68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem." Change-Id: I4e98c362f811c19f03766d0c78f10c795d3ac79d
Diffstat (limited to 'include')
-rw-r--r--include/svx/sdshtitm.hxx11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/svx/sdshtitm.hxx b/include/svx/sdshtitm.hxx
index 607f3bc2e5ad..e1035077be43 100644
--- a/include/svx/sdshtitm.hxx
+++ b/include/svx/sdshtitm.hxx
@@ -22,14 +22,9 @@
#include <svx/sdprcitm.hxx>
#include <svx/svddef.hxx>
-/**
- * class SdrShadowTransparenceItem
- */
-class SdrShadowTransparenceItem: public SdrPercentItem {
-public:
- SdrShadowTransparenceItem(sal_uInt16 nTransp=0): SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,nTransp) {}
- SdrShadowTransparenceItem(SvStream& rIn) : SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,rIn) {}
-};
+inline SdrPercentItem makeSdrShadowTransparenceItem(sal_uInt16 nTransp) {
+ return SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE, nTransp);
+}
#endif