diff options
Diffstat (limited to 'svx/source/svdraw/svdattr.cxx')
-rw-r--r-- | svx/source/svdraw/svdattr.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index a71d98b45df7..d2728f557ad1 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -754,10 +754,11 @@ SfxPoolItem* SdrOnOffItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const return new SdrOnOffItem(Which(),rIn); } -XubString SdrOnOffItem::GetValueTextByVal(sal_Bool bVal) const +rtl::OUString SdrOnOffItem::GetValueTextByVal(sal_Bool bVal) const { - if (bVal) return ImpGetResStr(STR_ItemValON); - else return ImpGetResStr(STR_ItemValOFF); + if (bVal) + return ImpGetResStr(STR_ItemValON); + return ImpGetResStr(STR_ItemValOFF); } SfxItemPresentation SdrOnOffItem::GetPresentation(SfxItemPresentation ePres, @@ -786,10 +787,11 @@ SfxPoolItem* SdrYesNoItem::Create(SvStream& rIn, sal_uInt16 /*nVer*/) const return new SdrYesNoItem(Which(),rIn); } -XubString SdrYesNoItem::GetValueTextByVal(sal_Bool bVal) const +rtl::OUString SdrYesNoItem::GetValueTextByVal(sal_Bool bVal) const { - if (bVal) return ImpGetResStr(STR_ItemValYES); - else return ImpGetResStr(STR_ItemValNO); + if (bVal) + return ImpGetResStr(STR_ItemValYES); + return ImpGetResStr(STR_ItemValNO); } SfxItemPresentation SdrYesNoItem::GetPresentation(SfxItemPresentation ePres, |