summaryrefslogtreecommitdiff
path: root/svl/source/items/szitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/szitem.cxx')
-rw-r--r--svl/source/items/szitem.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx
index 4e6d3d512a84..25060234a578 100644
--- a/svl/source/items/szitem.cxx
+++ b/svl/source/items/szitem.cxx
@@ -66,15 +66,12 @@ SfxItemPresentation SfxSizeItem::GetPresentation
SfxItemPresentation /*ePresentation*/,
SfxMapUnit /*eCoreMetric*/,
SfxMapUnit /*ePresentationMetric*/,
- XubString& rText,
+ OUString& rText,
const IntlWrapper *
) const
{
DBG_CHKTHIS(SfxSizeItem, 0);
- rText = OUString::valueOf(aVal.Width());
- rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", "));
- rText += OUString::valueOf(aVal.Height());
- rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", "));
+ rText = OUString::valueOf(aVal.Width()) + ", " + OUString::valueOf(aVal.Height()) + ", ";
return SFX_ITEM_PRESENTATION_NAMELESS;
}