summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-04 21:30:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-05 13:59:05 +0100
commit5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch)
treeb2c358d422775d0d9d312cca653c9e4e7b989ed2 /extensions
parentdd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff)
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/general.cxx4
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx2
-rw-r--r--extensions/source/propctrlr/newdatatype.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/bibliography/general.cxx b/extensions/source/bibliography/general.cxx
index 9c8077820f9e..65dafe55b28e 100644
--- a/extensions/source/bibliography/general.cxx
+++ b/extensions/source/bibliography/general.cxx
@@ -510,8 +510,8 @@ uno::Reference< awt::XControlModel > BibGeneralPage::AddXControl(
uno::Sequence<rtl::OUString> aListSource(TYPE_COUNT);
rtl::OUString* pListSourceArr = aListSource.getArray();
//pListSourceArr[0] = C2U("select TypeName, TypeIndex from TypeNms");
- for(sal_uInt16 i = 0; i < TYPE_COUNT; i++)
- pListSourceArr[i] = String::CreateFromInt32(i);
+ for(sal_Int32 i = 0; i < TYPE_COUNT; ++i)
+ pListSourceArr[i] = rtl::OUString::valueOf(i);
aAny.setValue(&aListSource, ::getCppuType((uno::Sequence<rtl::OUString>*)0));
xPropSet->setPropertyValue(C2U("ListSource"), aAny);
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index de3026902aca..1776726d7ef7 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -273,7 +273,7 @@ namespace dbp
for (::svt::WizardTypes::WizardState i=0; i<m_aExistingRadios.GetEntryCount(); ++i)
{
rSettings.aLabels.push_back(m_aExistingRadios.GetEntry(i));
- rSettings.aValues.push_back(String::CreateFromInt32((sal_Int32)(i + 1)));
+ rSettings.aValues.push_back(rtl::OUString::valueOf((sal_Int32)(i + 1)));
}
return sal_True;
diff --git a/extensions/source/propctrlr/newdatatype.cxx b/extensions/source/propctrlr/newdatatype.cxx
index dd26f82516a0..367a550cffc3 100644
--- a/extensions/source/propctrlr/newdatatype.cxx
+++ b/extensions/source/propctrlr/newdatatype.cxx
@@ -76,7 +76,7 @@ namespace pcr
sal_Int32 nPostfixNumber = 1;
do
{
- ( sInitialName = sNameBase ) += String::CreateFromInt32( nPostfixNumber++ );
+ ( sInitialName = sNameBase ) += rtl::OUString::valueOf(nPostfixNumber++);
}
while ( m_aProhibitedNames.find( sInitialName ) != m_aProhibitedNames.end() );