summaryrefslogtreecommitdiff
path: root/svl/source/items/flagitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/flagitem.cxx')
-rw-r--r--svl/source/items/flagitem.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx
index a1ce84013440..d2c5fbf169cb 100644
--- a/svl/source/items/flagitem.cxx
+++ b/svl/source/items/flagitem.cxx
@@ -73,14 +73,14 @@ SfxItemPresentation SfxFlagItem::GetPresentation
SfxItemPresentation /*ePresentation*/,
SfxMapUnit /*eCoreMetric*/,
SfxMapUnit /*ePresentationMetric*/,
- XubString& rText,
+ OUString& rText,
const IntlWrapper *
) const
{
DBG_CHKTHIS(SfxFlagItem, 0);
- rText.Erase();
+ rText = OUString();
for ( sal_uInt8 nFlag = 0; nFlag < GetFlagCount(); ++nFlag )
- rText += XubString::CreateFromInt32( (int)GetFlag(nFlag) );
+ rText += GetFlag(nFlag) ? OUString("true") : OUString("false");
return SFX_ITEM_PRESENTATION_NAMELESS;
}