diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-22 15:40:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-22 15:40:43 +0200 |
commit | e426e448ce2bd889f287ce13295092a75fa6150d (patch) | |
tree | 0df28a1481717c7eca230c043083c0e70083aa5e /svx/inc | |
parent | 1cbd9f7fbe327662d44605e4b3d4150b740b6f33 (diff) |
Consistency around SfxStringItem in svx/inc/sxonitm.hxx
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I694c42a53cb9041b51ef876416f0f61963b89f86
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/sxonitm.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/svx/inc/sxonitm.hxx b/svx/inc/sxonitm.hxx index 6c3916edc07d..820e398130a0 100644 --- a/svx/inc/sxonitm.hxx +++ b/svx/inc/sxonitm.hxx @@ -22,12 +22,9 @@ #include <svx/svddef.hxx> #include <svl/stritem.hxx> -class SdrObjectNameItem: public SfxStringItem { -public: - SdrObjectNameItem() : SfxStringItem() { SetWhich(SDRATTR_OBJECTNAME); } - SdrObjectNameItem(const OUString& rStr) : SfxStringItem(SDRATTR_OBJECTNAME,rStr) {} - SdrObjectNameItem(SvStream& rIn) : SfxStringItem(SDRATTR_OBJECTNAME,rIn) {} -}; +inline SfxStringItem makeSdrObjectNameItem(const OUString& rStr) { + return SfxStringItem(SDRATTR_OBJECTNAME,rStr); +} #endif |