diff options
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 |