summaryrefslogtreecommitdiff
path: root/svl/source/items/cintitem.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-23 12:41:52 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-28 17:36:20 +0100
commit0dc532bffcda35d15a4719c05bb258e470355b98 (patch)
treeec7adac5e52ca5aebb52d06a2498654af82e1200 /svl/source/items/cintitem.cxx
parent7e8e9031c6ef46d67d5579ca42d0c0f5975d4f98 (diff)
fdo#38838 Some removal/replacement of the String/UniString with OUString
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
Diffstat (limited to 'svl/source/items/cintitem.cxx')
-rw-r--r--svl/source/items/cintitem.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index e9d04f838fe0..430bdb3c148f 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -59,11 +59,11 @@ int CntByteItem::Compare(const SfxPoolItem & rWith) const
// virtual
SfxItemPresentation CntByteItem::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
- XubString & rText,
+ OUString & rText,
const IntlWrapper *) const
{
DBG_CHKTHIS(CntByteItem, 0);
- rText = XubString::CreateFromInt32(m_nValue);
+ rText = OUString::number( m_nValue );
return SFX_ITEM_PRESENTATION_NAMELESS;
}
@@ -193,12 +193,12 @@ int CntUInt16Item::Compare(const SfxPoolItem & rWith) const
// virtual
SfxItemPresentation CntUInt16Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
- XubString & rText,
+ OUString & rText,
const IntlWrapper *)
const
{
DBG_CHKTHIS(CntUInt16Item, 0);
- rText = XubString::CreateFromInt32(m_nValue);
+ rText = OUString::number( m_nValue );
return SFX_ITEM_PRESENTATION_NAMELESS;
}
@@ -325,11 +325,11 @@ int CntInt32Item::Compare(const SfxPoolItem & rWith) const
// virtual
SfxItemPresentation CntInt32Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
- XubString & rText,
+ OUString & rText,
const IntlWrapper *) const
{
DBG_CHKTHIS(CntInt32Item, 0);
- rText = XubString::CreateFromInt32(m_nValue);
+ rText = OUString::number( m_nValue );
return SFX_ITEM_PRESENTATION_NAMELESS;
}
@@ -458,7 +458,7 @@ int CntUInt32Item::Compare(const SfxPoolItem & rWith) const
// virtual
SfxItemPresentation CntUInt32Item::GetPresentation(SfxItemPresentation,
SfxMapUnit, SfxMapUnit,
- XubString & rText,
+ OUString & rText,
const IntlWrapper *)
const
{