diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:07:31 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-08-21 15:10:35 +0200 |
commit | 64b993e046f23baaacaff1572b7d2a816588b5ef (patch) | |
tree | 237dce36a1d4787d168a0520839f6aab22500487 /sw/source/ui | |
parent | 75f41baab6ce75786a91fe461835ee16a23ec18e (diff) |
finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dbui/addresslistdialog.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmconfigitem.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/dbui/mmoutputpage.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/docvw/edtwin2.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/labelcfg.cxx | 24 | ||||
-rw-r--r-- | sw/source/ui/misc/outline.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/ribbar/workctrl.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/shells/textsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/table/chartins.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/utlui/attrdesc.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/vba/vbalisthelper.cxx | 90 |
12 files changed, 73 insertions, 73 deletions
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx index d71990ef61d7..593404647038 100644 --- a/sw/source/ui/dbui/addresslistdialog.cxx +++ b/sw/source/ui/dbui/addresslistdialog.cxx @@ -363,7 +363,7 @@ IMPL_LINK(SwAddressListDialog, CreateHdl_Impl, PushButton*, pButton) while(m_xDBContext->hasByName(sFind)) { sFind = sNewName; - sFind += OUString::valueOf(++nIndex); + sFind += OUString::number(++nIndex); } uno::Reference<XPropertySet> xDataProperties(xNewInstance, UNO_QUERY); diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index b59a1994c258..34d385b2dd0a 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -1507,7 +1507,7 @@ static OUString lcl_CreateUniqueName(const Sequence<OUString>& aNames) OUString sRet; while(true) { - sRet = sTest; sRet += OUString::valueOf(nIdx++); + sRet = sTest; sRet += OUString::number(nIdx++); bool bFound = false; for(sal_Int32 i = 0; i < aNames.getLength(); i++) { diff --git a/sw/source/ui/dbui/mmconfigitem.cxx b/sw/source/ui/dbui/mmconfigitem.cxx index 6fd70e59176b..187ee36dec41 100644 --- a/sw/source/ui/dbui/mmconfigitem.cxx +++ b/sw/source/ui/dbui/mmconfigitem.cxx @@ -368,7 +368,7 @@ static OUString lcl_CreateNodeName(Sequence<OUString>& rAssignments ) { bFound = false; sNewName = "_"; - sNewName += OUString::valueOf(nStart); + sNewName += OUString::number(nStart); //search if the name exists for(sal_Int32 nAssign = 0; nAssign < rAssignments.getLength(); ++nAssign) { diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx index 7d239ae21a02..2a7f742a7904 100644 --- a/sw/source/ui/dbui/mmoutputpage.cxx +++ b/sw/source/ui/dbui/mmoutputpage.cxx @@ -906,9 +906,9 @@ IMPL_LINK_NOARG(SwMailMergeOutputPage, PrintHdl_Impl) SwDocMergeInfo& rStartInfo = rConfigItem.GetDocumentMergeInfo(nBegin); SwDocMergeInfo& rEndInfo = rConfigItem.GetDocumentMergeInfo(nEnd - 1); - OUString sPages(OUString::valueOf( rStartInfo.nStartPageInTarget )); + OUString sPages(OUString::number( rStartInfo.nStartPageInTarget )); sPages += OUString(" - "); - sPages += OUString::valueOf( rEndInfo.nEndPageInTarget ); + sPages += OUString::number( rEndInfo.nEndPageInTarget ); SwWrtShell& rSh = pTargetView->GetWrtShell(); pTargetView->SetMailMergeConfigItem(&rConfigItem, 0, sal_False); diff --git a/sw/source/ui/docvw/edtwin2.cxx b/sw/source/ui/docvw/edtwin2.cxx index 9d7f8443b8dc..559aa1478507 100644 --- a/sw/source/ui/docvw/edtwin2.cxx +++ b/sw/source/ui/docvw/edtwin2.cxx @@ -146,7 +146,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) #ifdef DBG_UTIL case SwContentAtPos::SW_TABLEBOXVALUE: { - sTxt = OStringToOUString(OString::valueOf( + sTxt = OStringToOUString(OString::number( ((SwTblBoxValue*)aCntntAtPos.aFnd.pAttr)->GetValue()), osl_getThreadTextEncoding()); } diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx index d7b9f8a0d4a6..6b5d7cac4698 100644 --- a/sw/source/ui/envelp/labelcfg.cxx +++ b/sw/source/ui/envelp/labelcfg.cxx @@ -231,16 +231,16 @@ static Sequence<PropertyValue> lcl_CreateProperties( { rMeasure = ""; rMeasure += rRec.bCont ? OUString( "C" ) : OUString( "S" ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lHDist ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lVDist ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lWidth ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lHeight ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lLeft ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lUpper ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( rRec.nCols ); rMeasure += sColon; - rMeasure += OUString::valueOf( rRec.nRows ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lPWidth ) ); rMeasure += sColon; - rMeasure += OUString::valueOf( TWIP_TO_MM100( rRec.lPHeight ) ); + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lHDist ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lVDist ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lWidth ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lHeight ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lLeft ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lUpper ) ); rMeasure += sColon; + rMeasure += OUString::number( rRec.nCols ); rMeasure += sColon; + rMeasure += OUString::number( rRec.nRows ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lPWidth ) ); rMeasure += sColon; + rMeasure += OUString::number( TWIP_TO_MM100( rRec.lPHeight ) ); pValues[nProp].Value <<= rMeasure; } break; @@ -304,11 +304,11 @@ void SwLabelConfig::SaveLabel( const OUString& rManufacturer, sal_Int32 nIndex = aLabels.getLength(); OUString sPrefix( "Label" ); sFoundNode = sPrefix; - sFoundNode += OUString::valueOf( nIndex ); + sFoundNode += OUString::number( nIndex ); while ( lcl_Exists( sFoundNode, aLabels ) ) { sFoundNode = sPrefix; - sFoundNode += OUString::valueOf(nIndex++); + sFoundNode += OUString::number(nIndex++); } } else diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx index de19bd221248..0e8c8ce87158 100644 --- a/sw/source/ui/misc/outline.cxx +++ b/sw/source/ui/misc/outline.cxx @@ -240,7 +240,7 @@ IMPL_LINK( SwOutlineTabDialog, FormHdl, Button *, pBtn ) for (sal_Int32 i = 2; i <= 9; ++i) { OString sForm("form"); - pFormMenu->SetHelpId(pFormMenu->GetItemId(sForm + OString::valueOf(i)), sHelpId); + pFormMenu->SetHelpId(pFormMenu->GetItemId(sForm + OString::number(i)), sHelpId); } pFormMenu->SetSelectHdl(LINK(this, SwOutlineTabDialog, MenuSelectHdl)); diff --git a/sw/source/ui/ribbar/workctrl.cxx b/sw/source/ui/ribbar/workctrl.cxx index 69cded27639b..91d8f59b86bc 100644 --- a/sw/source/ui/ribbar/workctrl.cxx +++ b/sw/source/ui/ribbar/workctrl.cxx @@ -78,7 +78,7 @@ void SAL_CALL SwTbxInsertCtrl::update() throw (uno::RuntimeException) { ToolBox& rTbx = GetToolBox(); OUString aSlotURL( "slot:" ); - aSlotURL += OUString::valueOf( sal_Int32( nLastSlotId )); + aSlotURL += OUString::number( nLastSlotId); Image aImage = GetImage( m_xFrame, aSlotURL, hasBigImages() ); rTbx.SetItemImage(GetId(), aImage); @@ -104,7 +104,7 @@ void SwTbxInsertCtrl::StateChanged( sal_uInt16 /*nSID*/, nId = nLastSlotId; OUString aSlotURL( "slot:" ); - aSlotURL += OUString::valueOf( sal_Int32( nId )); + aSlotURL += OUString::number( nId); ToolBox& rBox = GetToolBox(); Image aImage = GetImage( m_xFrame, aSlotURL, hasBigImages() ); rBox.SetItemImage(GetId(), aImage); diff --git a/sw/source/ui/shells/textsh.cxx b/sw/source/ui/shells/textsh.cxx index abf9becf8226..487110f74a23 100644 --- a/sw/source/ui/shells/textsh.cxx +++ b/sw/source/ui/shells/textsh.cxx @@ -405,7 +405,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) { SwFrmFmt* pTblFmt = GetShell().GetTableFmt(); aRangeString = pTblFmt->GetName(); - aRangeString += OUString::valueOf( sal_Unicode('.') ); + aRangeString += OUString( sal_Unicode('.') ); aRangeString += GetShell().GetBoxNms(); // get table data provider diff --git a/sw/source/ui/table/chartins.cxx b/sw/source/ui/table/chartins.cxx index f4b01eead839..19fd3b99ce17 100644 --- a/sw/source/ui/table/chartins.cxx +++ b/sw/source/ui/table/chartins.cxx @@ -158,7 +158,7 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) { SwFrmFmt* pTblFmt = rWrtShell.GetTableFmt(); aRangeString = pTblFmt->GetName(); - aRangeString += OUString::valueOf( sal_Unicode('.') ); + aRangeString += OUString( sal_Unicode('.') ); aRangeString += rWrtShell.GetBoxNms(); // get table data provider diff --git a/sw/source/ui/utlui/attrdesc.cxx b/sw/source/ui/utlui/attrdesc.cxx index 344e18047813..17bbe74be71d 100644 --- a/sw/source/ui/utlui/attrdesc.cxx +++ b/sw/source/ui/utlui/attrdesc.cxx @@ -213,12 +213,12 @@ SfxItemPresentation SwFmtDrop::GetPresentation { if ( GetChars() > 1 ) { - rText = OUString::valueOf( GetChars() ) + " "; + rText = OUString::boolean( GetChars() ) + " "; } rText = rText + OUString( SW_RESSTR( STR_DROP_OVER ) ) + " " + - OUString::valueOf( GetLines() ) + + OUString::boolean( GetLines() ) + " " + OUString( SW_RESSTR( STR_DROP_LINES ) ); } @@ -336,7 +336,7 @@ SfxItemPresentation SwFmtFrmSize::GetPresentation rText = SW_RESSTR( STR_FRM_WIDTH ) + " "; if ( GetWidthPercent() ) { - rText = rText + OUString::valueOf(GetWidthPercent()) + "%"; + rText = rText + OUString::boolean(GetWidthPercent()) + "%"; } else { @@ -349,7 +349,7 @@ SfxItemPresentation SwFmtFrmSize::GetPresentation rText = rText + ", " + SW_RESSTR( nId ) + " "; if ( GetHeightPercent() ) { - rText = rText + OUString::valueOf(GetHeightPercent()) + "%"; + rText = rText + OUString::boolean(GetHeightPercent()) + "%"; } else { @@ -685,7 +685,7 @@ SfxItemPresentation SwFmtCol::GetPresentation sal_uInt16 nCnt = GetNumCols(); if ( nCnt > 1 ) { - rText = OUString::valueOf(nCnt) + " " + SW_RESSTR( STR_COLUMNS ); + rText = OUString(nCnt) + " " + SW_RESSTR( STR_COLUMNS ); if ( COLADJ_NONE != GetLineAdj() ) { sal_uInt16 nWdth = sal_uInt16(GetLineWidth()); diff --git a/sw/source/ui/vba/vbalisthelper.cxx b/sw/source/ui/vba/vbalisthelper.cxx index 837397eb6aea..a25cb89bf5e1 100644 --- a/sw/source/ui/vba/vbalisthelper.cxx +++ b/sw/source/ui/vba/vbalisthelper.cxx @@ -78,7 +78,7 @@ void SwVbaListHelper::Init() throw( css::uno::RuntimeException ) throw uno::RuntimeException(); } } - msStyleName += OUString::valueOf( mnTemplateType ); + msStyleName += OUString::number( mnTemplateType ); // get the numbering style uno::Reference< style::XStyleFamiliesSupplier > xStyleSupplier( mxTextDocument, uno::UNO_QUERY_THROW ); @@ -204,43 +204,43 @@ void SwVbaListHelper::CreateNumberListTemplate() throw( css::uno::RuntimeExcepti case 1: { nNumberingType = style::NumberingType::ARABIC; - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 2: { nNumberingType = style::NumberingType::ARABIC; - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 3: { nNumberingType = style::NumberingType::ROMAN_UPPER; - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 4: { nNumberingType = style::NumberingType::CHARS_UPPER_LETTER; - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 5: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 6: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 7: { nNumberingType = style::NumberingType::ROMAN_LOWER; - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } default: @@ -319,56 +319,56 @@ void SwVbaListHelper::CreateOutlineNumberForType1() throw( css::uno::RuntimeExce { nNumberingType = style::NumberingType::ARABIC; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 2: { nNumberingType = style::NumberingType::ROMAN_LOWER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 3: { nNumberingType = style::NumberingType::ARABIC; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 4: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 5: { nNumberingType = style::NumberingType::ROMAN_LOWER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 6: { nNumberingType = style::NumberingType::ARABIC; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 7: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 8: { nNumberingType = style::NumberingType::ROMAN_LOWER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } default: @@ -387,7 +387,7 @@ void SwVbaListHelper::CreateOutlineNumberForType2() throw( css::uno::RuntimeExce { sal_Int16 nNumberingType = style::NumberingType::ARABIC; sal_Int16 nParentNumbering = 0; - OUString sSuffix = OUString::valueOf( sal_Unicode('.') ); + OUString sSuffix = OUString( sal_Unicode('.') ); uno::Sequence< beans::PropertyValue > aPropertyValues; for( sal_Int32 nLevel = 0; nLevel < LIST_LEVEL_COUNT; nLevel++ ) @@ -473,14 +473,14 @@ void SwVbaListHelper::CreateOutlineNumberForType4() throw( css::uno::RuntimeExce { nNumberingType = style::NumberingType::ROMAN_UPPER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 1: { nNumberingType = style::NumberingType::ARABIC; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); sal_Int16 nParentNumbering = 0; setOrAppendPropertyValue( aPropertyValues, OUString(UNO_NAME_PARENT_NUMBERING ), uno::makeAny( nParentNumbering ) ); break; @@ -488,50 +488,50 @@ void SwVbaListHelper::CreateOutlineNumberForType4() throw( css::uno::RuntimeExce case 2: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 3: { nNumberingType = style::NumberingType::ROMAN_LOWER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 4: { nNumberingType = style::NumberingType::ARABIC; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 5: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 6: { nNumberingType = style::NumberingType::ROMAN_LOWER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 7: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 8: { nNumberingType = style::NumberingType::ROMAN_LOWER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } default: @@ -581,63 +581,63 @@ void SwVbaListHelper::CreateOutlineNumberForType6() throw( css::uno::RuntimeExce { nNumberingType = style::NumberingType::ROMAN_UPPER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 1: { nNumberingType = style::NumberingType::CHARS_UPPER_LETTER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 2: { nNumberingType = style::NumberingType::ARABIC; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 3: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; sPrefix = OUString(); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 4: { nNumberingType = style::NumberingType::ARABIC; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 5: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 6: { nNumberingType = style::NumberingType::ROMAN_LOWER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode(')') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode(')') ); break; } case 7: { nNumberingType = style::NumberingType::CHARS_LOWER_LETTER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode('.') ); break; } case 8: { nNumberingType = style::NumberingType::ROMAN_LOWER; - sPrefix = OUString::valueOf( sal_Unicode('(') ); - sSuffix = OUString::valueOf( sal_Unicode('.') ); + sPrefix = OUString( sal_Unicode('(') ); + sSuffix = OUString( sal_Unicode('.') ); break; } default: |