Kaydet (Commit) f5407c72 authored tarafından Caolán McNamara's avatar Caolán McNamara

UniString::CreateFromInt32(0) -> "0"

üst cdd0e181
......@@ -1582,8 +1582,7 @@ void SwQuoVadisPortion::Paint( const SwTxtPaintInfo &rInf ) const
SwFldPortion *SwErgoSumPortion::Clone( const XubString &rExpand ) const
{
UniString aTmp; // = UniString::CreateFromInt32( 0 );
return new SwErgoSumPortion( rExpand, aTmp );
return new SwErgoSumPortion( rExpand, rtl::OUString() );
}
SwErgoSumPortion::SwErgoSumPortion( const XubString &rExp, const XubString& rStr )
......
......@@ -636,7 +636,8 @@ String SwDocStyleSheet::GetDescription(SfxMapUnit eUnit)
String aDesc;
const SfxPoolItem* pItem = aIter.FirstItem();
String sPageNum, sModel, sBreak;
rtl::OUString sPageNum;
String sModel, sBreak;
sal_Bool bHasWesternFontPrefix = sal_False;
sal_Bool bHasCJKFontPrefix = sal_False;
SvtCJKOptions aCJKOptions;
......@@ -729,7 +730,7 @@ String SwDocStyleSheet::GetDescription(SfxMapUnit eUnit)
aDesc += SW_RESSTR(STR_PAGEBREAK);
aDesc += sPlus;
aDesc += sModel;
if(sPageNum != String(UniString::CreateFromInt32(0)))
if (sPageNum != "0")
{
aDesc += sPlus;
aDesc += SW_RESSTR(STR_PAGEOFFSET);
......
......@@ -136,7 +136,7 @@ sal_Bool SwFldMgr::IsDBNumeric( const String& rDBName, const String& rTblQryName
Any aCol = xCols->getByName(rFldName);
Reference <XPropertySet> xCol;
aCol >>= xCol;
Any aType = xCol->getPropertyValue( UniString::CreateFromAscii("Type"));
Any aType = xCol->getPropertyValue(rtl::OUString("Type"));
sal_Int32 eDataType = 0;
aType >>= eDataType;
switch(eDataType)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment