diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 14:56:20 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-18 14:56:55 +0200 |
commit | 08edafa656dc15089fad4d07c71fe40585f89f4b (patch) | |
tree | aec6e30df516e0ceaf08d880ba12bc695d39b53c /include | |
parent | 839cc63e7d1b78c56e04bafb46037e898ce2c455 (diff) |
Consistency around SdrOnOffItem in svx/sdtcfitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sdtcfitm.hxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/svx/sdtcfitm.hxx b/include/svx/sdtcfitm.hxx index 8a9cb6172f62..aca6298d8f67 100644 --- a/include/svx/sdtcfitm.hxx +++ b/include/svx/sdtcfitm.hxx @@ -22,14 +22,9 @@ #include <svx/sdooitm.hxx> #include <svx/svddef.hxx> -/* - * class SdrTextContourFrameItem - */ -class SdrTextContourFrameItem: public SdrOnOffItem { -public: - SdrTextContourFrameItem(bool bOn=false): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {} - SdrTextContourFrameItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,rIn) {} -}; +inline SdrOnOffItem makeSdrTextContourFrameItem(bool bOn) { + return SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME, bOn); +} #endif |