diff options
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/sxmsuitm.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/svx/sxmsuitm.hxx b/include/svx/sxmsuitm.hxx index c16a51f77e7b..9238913b8874 100644 --- a/include/svx/sxmsuitm.hxx +++ b/include/svx/sxmsuitm.hxx @@ -22,12 +22,9 @@ #include <svx/svddef.hxx> #include <svx/sdynitm.hxx> -// Include the unit of measure when displaying -class SdrMeasureShowUnitItem: public SdrYesNoItem { -public: - SdrMeasureShowUnitItem(bool bOn=false): SdrYesNoItem(SDRATTR_MEASURESHOWUNIT,bOn) {} - SdrMeasureShowUnitItem(SvStream& rIn): SdrYesNoItem(SDRATTR_MEASURESHOWUNIT,rIn) {} -}; +inline SdrYesNoItem makeSdrMeasureShowUnitItem(bool bOn) { + return SdrYesNoItem(SDRATTR_MEASURESHOWUNIT, bOn); +} #endif |