diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-01-09 10:53:05 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-01-09 10:54:19 +0100 |
commit | a2296128ccc1c678f0a8a591c36b5546683f482d (patch) | |
tree | e5286fc9dc5c9e1e061c7581a0090c2a8ee6e34b /svl | |
parent | 2f320afd978f15a8197f11614251b1e7014487c9 (diff) |
Some removal/replacement of the String/UniString with OUString
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/ptitem.cxx | 4 | ||||
-rw-r--r-- | svl/source/items/rectitem.cxx | 8 | ||||
-rw-r--r-- | svl/source/items/szitem.cxx | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index 5986bafe3b1a..b70c84345cae 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -75,9 +75,9 @@ SfxItemPresentation SfxPointItem::GetPresentation ) const { DBG_CHKTHIS(SfxPointItem, 0); - rText = UniString::CreateFromInt32(aVal.X()); + rText = OUString::valueOf(aVal.X()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); - rText += UniString::CreateFromInt32(aVal.Y()); + rText += OUString::valueOf(aVal.Y()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); return SFX_ITEM_PRESENTATION_NAMELESS; } diff --git a/svl/source/items/rectitem.cxx b/svl/source/items/rectitem.cxx index 991fbc20c710..5c096a1fe3ca 100644 --- a/svl/source/items/rectitem.cxx +++ b/svl/source/items/rectitem.cxx @@ -72,13 +72,13 @@ SfxItemPresentation SfxRectangleItem::GetPresentation ) const { DBG_CHKTHIS(SfxRectangleItem, 0); - rText = UniString::CreateFromInt32(aVal.Top()); + rText = OUString::valueOf(aVal.Top()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); - rText += UniString::CreateFromInt32(aVal.Left()); + rText += OUString::valueOf(aVal.Left()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); - rText += UniString::CreateFromInt32(aVal.Bottom()); + rText += OUString::valueOf(aVal.Bottom()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); - rText += UniString::CreateFromInt32(aVal.Right()); + rText += OUString::valueOf(aVal.Right()); return SFX_ITEM_PRESENTATION_NAMELESS; } diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx index 4660a1f794ee..4e6d3d512a84 100644 --- a/svl/source/items/szitem.cxx +++ b/svl/source/items/szitem.cxx @@ -71,9 +71,9 @@ SfxItemPresentation SfxSizeItem::GetPresentation ) const { DBG_CHKTHIS(SfxSizeItem, 0); - rText = UniString::CreateFromInt32(aVal.Width()); + rText = OUString::valueOf(aVal.Width()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); - rText += UniString::CreateFromInt32(aVal.Height()); + rText += OUString::valueOf(aVal.Height()); rText.AppendAscii(RTL_CONSTASCII_STRINGPARAM(", ")); return SFX_ITEM_PRESENTATION_NAMELESS; } |