summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
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;
}