diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 10:55:03 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 10:55:36 +0200 |
commit | a51c423743835793bf132c925ad962283fd2dc22 (patch) | |
tree | 830680b766492f00f7706ee6680dba4b644c1394 /include/svx | |
parent | b5a0b00d494928482e4dd44395765c480c8ae252 (diff) |
Consistency around SdrMetricItem in svx/sdsxyitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sdsxyitm.hxx | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/include/svx/sdsxyitm.hxx b/include/svx/sdsxyitm.hxx index e8653d8b56cd..e2686a5689a9 100644 --- a/include/svx/sdsxyitm.hxx +++ b/include/svx/sdsxyitm.hxx @@ -22,23 +22,13 @@ #include <svx/sdmetitm.hxx> #include <svx/svddef.hxx> +inline SdrMetricItem makeSdrShadowXDistItem(long nDist) { + return SdrMetricItem(SDRATTR_SHADOWXDIST, nDist); +} -// class SdrShadowXDistItem - -class SdrShadowXDistItem: public SdrMetricItem { -public: - SdrShadowXDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWXDIST,nDist) {} - SdrShadowXDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_SHADOWXDIST,rIn) {} -}; - - -// class SdrShadowYDistItem - -class SdrShadowYDistItem: public SdrMetricItem { -public: - SdrShadowYDistItem(long nDist=0) : SdrMetricItem(SDRATTR_SHADOWYDIST,nDist) {} - SdrShadowYDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_SHADOWYDIST,rIn) {} -}; +inline SdrMetricItem makeSdrShadowYDistItem(long nDist) { + return SdrMetricItem(SDRATTR_SHADOWYDIST, nDist); +} #endif |