From 5688b51bcb23b12b335dadf4430b7b7c4407cbfb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 4 Apr 2012 21:30:30 +0100 Subject: UniString::CreateFromInt32 -> rtl::OUString::valueOf --- extensions/source/bibliography/general.cxx | 4 ++-- extensions/source/dbpilots/groupboxwiz.cxx | 2 +- extensions/source/propctrlr/newdatatype.cxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'extensions') 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 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*)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