summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdibrow.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-10 01:52:32 +0100
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-01-13 11:21:25 +0400
commit6f3c367f9c2bff7520f2a55f1795fd718abea938 (patch)
treeb2bdabda32fef36b02c4972966490d6bbaa69f40 /svx/source/svdraw/svdibrow.cxx
parentd28ccfbcdd459d21f8791cd7a61a52a12d3adbbc (diff)
fdo#38838 Some removal/replacement of the String/UniString with OUString
Change-Id: Ibce0f8542aa398147d74f7acf53b2898dc3e4eff
Diffstat (limited to 'svx/source/svdraw/svdibrow.cxx')
-rw-r--r--svx/source/svdraw/svdibrow.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 9e724aa21d18..f7cbccab1910 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -321,7 +321,7 @@ String _SdrItemBrowserControl::GetCellText(long _nRow, sal_uInt16 _nColId) const
switch (_nColId)
{
case ITEMBROWSER_WHICHCOL_ID:
- sRet = UniString::CreateFromInt32(pEntry->nWhichId); break;
+ sRet = OUString::valueOf( static_cast<sal_Int32>(pEntry->nWhichId) ); break;
case ITEMBROWSER_STATECOL_ID:
{
switch (pEntry->eState)
@@ -518,9 +518,9 @@ bool _SdrItemBrowserControl::BegChangeEntry(sal_uIntPtr nPos)
aNeuNam += pEntry->GetItemTypeStr();
if (pEntry->bCanNum) {
aNeuNam.AppendAscii(": ");
- aNeuNam += UniString::CreateFromInt32(pEntry->nMin);
+ aNeuNam += OUString::valueOf(pEntry->nMin);
aNeuNam.AppendAscii("..");
- aNeuNam += UniString::CreateFromInt32(pEntry->nMax);
+ aNeuNam += OUString::valueOf(pEntry->nMax);
}
aNeuNam.AppendAscii(" - Type 'del' to reset to default.");
pParent->SetText(aNeuNam);
@@ -1019,7 +1019,7 @@ void _SdrItemBrowserControl::SetAttributes(const SfxItemSet* pSet, const SfxItem
if (aEntry.bCanNum)
{
aEntry.aValue.InsertAscii(": ",0);
- aEntry.aValue.Insert(UniString::CreateFromInt32(aEntry.nVal),0);
+ aEntry.aValue.Insert(OUString::valueOf(aEntry.nVal),0);
}
}
else