summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-26 20:45:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-27 09:45:57 +0000
commitb36d555440b86d8293b188e4d99ec8682a2139a5 (patch)
tree85fba385e1c021c3b2d86bc8922c5980b4abe9ff /svl
parentd6100ba273e7d73cc4b00a378ce5bad49559943b (diff)
drop UniString::CreateFromInt64
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/cintitem.cxx2
-rw-r--r--svl/source/items/rngitem_inc.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/cintitem.cxx b/svl/source/items/cintitem.cxx
index 2ae7c4714557..4584d993dc2f 100644
--- a/svl/source/items/cintitem.cxx
+++ b/svl/source/items/cintitem.cxx
@@ -472,7 +472,7 @@ SfxItemPresentation CntUInt32Item::GetPresentation(SfxItemPresentation,
const
{
DBG_CHKTHIS(CntUInt32Item, 0);
- rText = XubString::CreateFromInt64(m_nValue);
+ rText = rtl::OUString::valueOf(static_cast<sal_Int64>(m_nValue));
return SFX_ITEM_PRESENTATION_NAMELESS;
}
diff --git a/svl/source/items/rngitem_inc.cxx b/svl/source/items/rngitem_inc.cxx
index b1c21c3aa9f4..7c87cb71d85b 100644
--- a/svl/source/items/rngitem_inc.cxx
+++ b/svl/source/items/rngitem_inc.cxx
@@ -80,9 +80,9 @@ SfxItemPresentation SfxXRangeItem::GetPresentation
const IntlWrapper *
) const
{
- rText = UniString::CreateFromInt64(nFrom);
+ rText = rtl::OUString::valueOf(static_cast<sal_Int64>(nFrom));
rText += ':';
- rText += UniString::CreateFromInt64(nTo);
+ rText += rtl::OUString::valueOf(static_cast<sal_Int64>(nTo));
return SFX_ITEM_PRESENTATION_NAMELESS;
}