diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:02:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-31 08:02:18 +0200 |
commit | 9f075246c59225dbd9ec7f700de8bbba491cb458 (patch) | |
tree | 55702a66d705684ebe91e21c3b3a54869853b284 | |
parent | 049a665bd81ee6d0d700d562d9fc6c953a4f097e (diff) |
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I4e350a0c6045d07677edae4f9921db0a42b4e0f5
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 6 | ||||
-rw-r--r-- | sc/qa/unit/ucalc_formula.cxx | 16 | ||||
-rw-r--r-- | sc/source/core/data/documen8.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dputil.cxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/funcdesc.cxx | 26 | ||||
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 | ||||
-rw-r--r-- | sc/source/core/tool/rangeutl.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/dif/difexp.cxx | 14 | ||||
-rw-r--r-- | sc/source/filter/excel/read.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/excel/xipage.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/formulabase.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportDatabaseRanges.cxx | 8 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/attrdlg/scabstdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dbgui/pfiltdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/documentlinkmgr.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/formdlg/dwfunctr.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/miscdlgs/datafdlg.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbafont.cxx | 6 |
21 files changed, 66 insertions, 66 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 785d5c4aebc5..675e9ee31e8a 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -1412,15 +1412,15 @@ void ScExportTest::testCellBordersXLSX() OUString toString( const ScBigRange& rRange ) { OUStringBuffer aBuf; - aBuf.appendAscii("(columns:"); + aBuf.append("(columns:"); aBuf.append(rRange.aStart.Col()); aBuf.append('-'); aBuf.append(rRange.aEnd.Col()); - aBuf.appendAscii(";rows:"); + aBuf.append(";rows:"); aBuf.append(rRange.aStart.Row()); aBuf.append('-'); aBuf.append(rRange.aEnd.Row()); - aBuf.appendAscii(";sheets:"); + aBuf.append(";sheets:"); aBuf.append(rRange.aStart.Tab()); aBuf.append('-'); aBuf.append(rRange.aEnd.Tab()); diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 0e379f125edc..4aa08b793898 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -4145,13 +4145,13 @@ void runTestMATCH(ScDocument* pDoc, const char* aData[_DataSize], StrStrCheck aC pDoc->SetString(1, i, 0, OUString::createFromAscii(aChecks[i].pVal)); OUStringBuffer aBuf; - aBuf.appendAscii("=MATCH(B"); + aBuf.append("=MATCH(B"); aBuf.append(static_cast<sal_Int32>(i+1)); - aBuf.appendAscii(";A1:A"); + aBuf.append(";A1:A"); aBuf.append(static_cast<sal_Int32>(nDataSize)); - aBuf.appendAscii(";"); + aBuf.append(";"); aBuf.append(static_cast<sal_Int32>(_Type)); - aBuf.appendAscii(")"); + aBuf.append(")"); OUString aFormula = aBuf.makeStringAndClear(); pDoc->SetString(2, i, 0, aFormula); } @@ -4185,13 +4185,13 @@ void runTestHorizontalMATCH(ScDocument* pDoc, const char* aData[_DataSize], StrS // Assume we don't have more than 26 data columns.. OUStringBuffer aBuf; - aBuf.appendAscii("=MATCH("); + aBuf.append("=MATCH("); aBuf.append(static_cast<sal_Unicode>('A'+i)); - aBuf.appendAscii("2;A1:"); + aBuf.append("2;A1:"); aBuf.append(static_cast<sal_Unicode>('A'+nDataSize)); - aBuf.appendAscii("1;"); + aBuf.append("1;"); aBuf.append(static_cast<sal_Int32>(_Type)); - aBuf.appendAscii(")"); + aBuf.append(")"); OUString aFormula = aBuf.makeStringAndClear(); pDoc->SetString(i, 2, 0, aFormula); } diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx index 85be6564af7b..c51ca60dab64 100644 --- a/sc/source/core/data/documen8.cxx +++ b/sc/source/core/data/documen8.cxx @@ -841,7 +841,7 @@ void ScDocument::UpdateExternalRefLinks(vcl::Window* pWin) OUStringBuffer aBuf; aBuf.append(OUString(ScResId(SCSTR_EXTDOC_NOT_LOADED))); - aBuf.appendAscii("\n\n"); + aBuf.append("\n\n"); aBuf.append(aFile); ScopedVclPtrInstance< MessageDialog > aBox(pWin, aBuf.makeStringAndClear()); aBox->Execute(); diff --git a/sc/source/core/data/dputil.cxx b/sc/source/core/data/dputil.cxx index 9e857cc0c848..510d391f9bc6 100644 --- a/sc/source/core/data/dputil.cxx +++ b/sc/source/core/data/dputil.cxx @@ -246,7 +246,7 @@ OUString lcl_GetNumGroupName( if ( rInfo.mbDateValues ) { lcl_AppendDateStr( aBuffer, fStartValue, pFormatter ); - aBuffer.appendAscii( " - " ); // with spaces + aBuffer.append( " - " ); // with spaces lcl_AppendDateStr( aBuffer, fEndValue, pFormatter ); } else diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx index 61e2f649bbd3..39d983c3e316 100644 --- a/sc/source/core/data/funcdesc.cxx +++ b/sc/source/core/data/funcdesc.cxx @@ -128,7 +128,7 @@ OUString ScFuncDesc::GetParamList() const if ( i != nArgCount-1 ) { aSig.append(sep); - aSig.appendAscii( " " ); + aSig.append( " " ); } } } @@ -147,7 +147,7 @@ OUString ScFuncDesc::GetParamList() const { aSig.append(maDefArgNames[nArg]); aSig.append(sep); - aSig.appendAscii( " " ); + aSig.append( " " ); } } /* NOTE: Currently there are no suppressed var args parameters. If @@ -161,7 +161,7 @@ OUString ScFuncDesc::GetParamList() const aSig.append(maDefArgNames[nFix]); aSig.append('2'); aSig.append(sep); - aSig.appendAscii(" ... "); + aSig.append(" ... "); } else { @@ -172,7 +172,7 @@ OUString ScFuncDesc::GetParamList() const { aSig.append(maDefArgNames[nArg]); aSig.append(sep); - aSig.appendAscii( " " ); + aSig.append( " " ); } } @@ -182,14 +182,14 @@ OUString ScFuncDesc::GetParamList() const aSig.append(maDefArgNames[nFix+1]); aSig.append('1'); aSig.append(sep); - aSig.appendAscii( " " ); + aSig.append( " " ); aSig.append(maDefArgNames[nFix]); aSig.append('2'); aSig.append(sep); aSig.append(maDefArgNames[nFix+1]); aSig.append('2'); aSig.append(sep); - aSig.appendAscii( " ... " ); + aSig.append( " ... " ); } } @@ -207,14 +207,14 @@ OUString ScFuncDesc::getSignature() const OUString aParamList = GetParamList(); if( !aParamList.isEmpty() ) { - aSig.appendAscii( "( " ); + aSig.append( "( " ); aSig.append(aParamList); // U+00A0 (NBSP) prevents automatic line break aSig.append( static_cast< sal_Unicode >(0xA0) ); - aSig.appendAscii( ")" ); + aSig.append( ")" ); } else - aSig.appendAscii( "()" ); + aSig.append( "()" ); } return aSig.makeStringAndClear(); } @@ -229,7 +229,7 @@ OUString ScFuncDesc::getFormula( const ::std::vector< OUString >& _aArguments ) { aFormula.append( *pFuncName ); - aFormula.appendAscii( "(" ); + aFormula.append( "(" ); if ( nArgCount > 0 && !_aArguments.empty() && !_aArguments[0].isEmpty()) { ::std::vector< OUString >::const_iterator aIter = _aArguments.begin(); @@ -245,7 +245,7 @@ OUString ScFuncDesc::getFormula( const ::std::vector< OUString >& _aArguments ) } } - aFormula.appendAscii( ")" ); + aFormula.append( ")" ); } return aFormula.makeStringAndClear(); } @@ -461,9 +461,9 @@ ScFunctionList::ScFunctionList() : OUStringBuffer aBuf(aArgDesc); aBuf.append('\n'); - aBuf.appendAscii("( AddIn: "); + aBuf.append("( AddIn: "); aBuf.append(pLegacyFuncData->GetModuleName()); - aBuf.appendAscii(" )"); + aBuf.append(" )"); pDesc->pFuncDesc = new OUString(aBuf.makeStringAndClear()); pDesc->nArgCount = nArgs; diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index b596d42739e0..a9f877253bdd 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -2176,7 +2176,7 @@ void ScInterpreter::ScCell() aBuf.append('\''); const INetURLObject& rURLObj = pShell->GetMedium()->GetURLObject(); aBuf.append(rURLObj.GetMainURL(INetURLObject::DECODE_UNAMBIGUOUS)); - aBuf.appendAscii("'#$"); + aBuf.append("'#$"); OUString aTabName; pDok->GetName( nTab, aTabName ); aBuf.append(aTabName); @@ -2365,7 +2365,7 @@ void ScInterpreter::ScCellExternal() OUStringBuffer aBuf; aBuf.append('\''); aBuf.append(*p); - aBuf.appendAscii("'#$"); + aBuf.append("'#$"); aBuf.append(aTabName); PushString(aBuf.makeStringAndClear()); } diff --git a/sc/source/core/tool/rangeutl.cxx b/sc/source/core/tool/rangeutl.cxx index 3ffcc5454396..356805e60cff 100644 --- a/sc/source/core/tool/rangeutl.cxx +++ b/sc/source/core/tool/rangeutl.cxx @@ -785,7 +785,7 @@ static void lcl_appendCellRangeAddress( OUString aAddr(rCell1.Format(SCA_ABS, NULL, pDoc->GetAddressConvention())); rBuf.append(aAddr); - rBuf.appendAscii(":"); + rBuf.append(":"); if (rExtInfo1.maTabName != rExtInfo2.maTabName) { diff --git a/sc/source/filter/dif/difexp.cxx b/sc/source/filter/dif/difexp.cxx index 0678587f7b01..ba17c2c692c5 100644 --- a/sc/source/filter/dif/difexp.cxx +++ b/sc/source/filter/dif/difexp.cxx @@ -111,16 +111,16 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc OSL_ENSURE( pDoc->HasTable( nTab ), "*ScExportDif(): Table not existent!" ); aOS.append(pKeyTABLE); - aOS.appendAscii("\n0,1\n\""); + aOS.append("\n0,1\n\""); pDoc->GetName( nTab, aString ); aOS.append(aString); - aOS.appendAscii("\"\n"); + aOS.append("\"\n"); rOut.WriteUnicodeOrByteText(aOS.makeStringAndClear()); // VECTORS aOS.append(pKeyVECTORS); - aOS.appendAscii("\n0,"); + aOS.append("\n0,"); aOS.append(static_cast<sal_Int32>(nNumCols)); aOS.append('\n'); aOS.appendAscii(p2DoubleQuotes_LF); @@ -128,7 +128,7 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc // TUPLES aOS.append(pKeyTUPLES); - aOS.appendAscii("\n0,"); + aOS.append("\n0,"); aOS.append(static_cast<sal_Int32>(nNumRows)); aOS.append('\n'); aOS.appendAscii(p2DoubleQuotes_LF); @@ -136,7 +136,7 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc // DATA aOS.append(pKeyDATA); - aOS.appendAscii("\n0,0\n"); + aOS.append("\n0,0\n"); aOS.appendAscii(p2DoubleQuotes_LF); rOut.WriteUnicodeOrByteText(aOS.makeStringAndClear()); @@ -176,7 +176,7 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc pDoc->GetInputString( nColCnt, nRowCnt, nTab, aString ); aOS.append(aString); } - aOS.appendAscii("\nV\n"); + aOS.append("\nV\n"); break; case CELLTYPE_EDIT: case CELLTYPE_STRING: @@ -201,7 +201,7 @@ FltError ScFormatFilterPluginImpl::ScExportDif( SvStream& rOut, ScDocument* pDoc pDoc->GetInputString( nColCnt, nRowCnt, nTab, aString ); aOS.append(aString); } - aOS.appendAscii("\nV\n"); + aOS.append("\nV\n"); } else { diff --git a/sc/source/filter/excel/read.cxx b/sc/source/filter/excel/read.cxx index 159e8b4fc386..ac2bf887ca8a 100644 --- a/sc/source/filter/excel/read.cxx +++ b/sc/source/filter/excel/read.cxx @@ -1247,7 +1247,7 @@ FltError ImportExcel8::Read() while ( true ) { OUStringBuffer aBuf; - aBuf.appendAscii("Sheet"); + aBuf.append("Sheet"); aBuf.append(static_cast<sal_Int32>(nTab++)); OUString sTmpName = aBuf.makeStringAndClear(); std::vector<OUString>::iterator codeName_It = aCodeNames.begin(); diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index bbd768d3da1d..4c84101a92d6 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -699,9 +699,9 @@ OUString XclXmlUtils::GetStreamName( const char* sStreamDir, const char* sStream if( nId ) sBuf.append( nId ); if( strstr(sStream, "vml") ) - sBuf.appendAscii( ".vml" ); + sBuf.append( ".vml" ); else - sBuf.appendAscii( ".xml" ); + sBuf.append( ".xml" ); return sBuf.makeStringAndClear(); } diff --git a/sc/source/filter/excel/xipage.cxx b/sc/source/filter/excel/xipage.cxx index a3d2b2fa5763..2d22f531533b 100644 --- a/sc/source/filter/excel/xipage.cxx +++ b/sc/source/filter/excel/xipage.cxx @@ -221,7 +221,7 @@ void XclImpPageSettings::Finalize() // *** create page style sheet *** OUStringBuffer aStyleName; - aStyleName.appendAscii("PageStyle_"); + aStyleName.append("PageStyle_"); OUString aTableName; if( GetDoc().GetName( nScTab, aTableName ) ) diff --git a/sc/source/filter/oox/formulabase.cxx b/sc/source/filter/oox/formulabase.cxx index b31020b69556..e9914c551e1d 100644 --- a/sc/source/filter/oox/formulabase.cxx +++ b/sc/source/filter/oox/formulabase.cxx @@ -1644,7 +1644,7 @@ OUString FormulaProcessorBase::generateApiArray( const Matrix< Any >& rMatrix ) else if( *aIt >>= aString ) aBuffer.append( generateApiString( aString ) ); else - aBuffer.appendAscii( "\"\"" ); + aBuffer.append( "\"\"" ); } } aBuffer.append( API_TOKEN_ARRAY_CLOSE ); diff --git a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx index 3673e87793e7..ab82d5f452f1 100644 --- a/sc/source/filter/xml/XMLExportDatabaseRanges.cxx +++ b/sc/source/filter/xml/XMLExportDatabaseRanges.cxx @@ -139,7 +139,7 @@ public: // name OUStringBuffer aBuf; - aBuf.appendAscii(STR_DB_LOCAL_NONAME); + aBuf.append(STR_DB_LOCAL_NONAME); aBuf.append(static_cast<sal_Int32>(r.first)); // appended number equals sheet index on import. write(aBuf.makeStringAndClear(), *r.second); @@ -151,7 +151,7 @@ public: { // name OUStringBuffer aBuf; - aBuf.appendAscii(STR_DB_GLOBAL_NONAME); + aBuf.append(STR_DB_GLOBAL_NONAME); aBuf.append(++mnCounter); // 1-based, for entirely arbitrary reasons. The numbers are ignored on import. write(aBuf.makeStringAndClear(), rData); @@ -353,7 +353,7 @@ private: if (aParam.bUserDef) { OUStringBuffer aBuf; - aBuf.appendAscii(SC_USERLIST); + aBuf.append(SC_USERLIST); aBuf.append(aParam.nUserIndex); mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_DATA_TYPE, aBuf.makeStringAndClear()); } @@ -646,7 +646,7 @@ private: if (aParam.bUserDef) { OUStringBuffer aBuf; - aBuf.appendAscii(SC_USERLIST); + aBuf.append(SC_USERLIST); aBuf.append(static_cast<sal_Int32>(aParam.nUserIndex)); mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_DATA_TYPE, aBuf.makeStringAndClear()); } diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index b5c730d3f037..bc29723cf49f 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -4035,19 +4035,19 @@ void ScXMLExport::WriteNamedRange(ScRangeName* pRangeName) if ((nRangeType & sheet::NamedRangeFlag::ROW_HEADER) == sheet::NamedRangeFlag::ROW_HEADER) { if (!sBufferRangeType.isEmpty()) - sBufferRangeType.appendAscii(" "); + sBufferRangeType.append(" "); sBufferRangeType.append(GetXMLToken(XML_REPEAT_ROW)); } if ((nRangeType & sheet::NamedRangeFlag::FILTER_CRITERIA) == sheet::NamedRangeFlag::FILTER_CRITERIA) { if (!sBufferRangeType.isEmpty()) - sBufferRangeType.appendAscii(" "); + sBufferRangeType.append(" "); sBufferRangeType.append(GetXMLToken(XML_FILTER)); } if ((nRangeType & sheet::NamedRangeFlag::PRINT_AREA) == sheet::NamedRangeFlag::PRINT_AREA) { if (!sBufferRangeType.isEmpty()) - sBufferRangeType.appendAscii(" "); + sBufferRangeType.append(" "); sBufferRangeType.append(GetXMLToken(XML_PRINT_RANGE)); } OUString sRangeType = sBufferRangeType.makeStringAndClear(); diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index b92e56226288..94072269aebb 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -2661,13 +2661,13 @@ sal_Int32 ScXMLImport::SetCurrencySymbol(const sal_Int32 nKey, const OUString& r ScXMLImport::MutexGuard aGuard(*this); LocaleDataWrapper aLocaleData( comphelper::getProcessComponentContext(), LanguageTag( aLocale) ); OUStringBuffer aBuffer(15); - aBuffer.appendAscii("#"); + aBuffer.append("#"); aBuffer.append( aLocaleData.getNumThousandSep() ); - aBuffer.appendAscii("##0"); + aBuffer.append("##0"); aBuffer.append( aLocaleData.getNumDecimalSep() ); - aBuffer.appendAscii("00 [$"); + aBuffer.append("00 [$"); aBuffer.append(rCurrency); - aBuffer.appendAscii("]"); + aBuffer.append("]"); sFormatString = aBuffer.makeStringAndClear(); } sal_Int32 nNewKey = xLocalNumberFormats->queryKey(sFormatString, aLocale, true); diff --git a/sc/source/ui/attrdlg/scabstdlg.cxx b/sc/source/ui/attrdlg/scabstdlg.cxx index 8d7fcef2791d..fa4d96623909 100644 --- a/sc/source/ui/attrdlg/scabstdlg.cxx +++ b/sc/source/ui/attrdlg/scabstdlg.cxx @@ -44,7 +44,7 @@ ScAbstractDialogFactory* ScAbstractDialogFactory::Create() static ::osl::Module aDialogLibrary; OUStringBuffer aStrBuf; - aStrBuf.appendAscii( SVLIBRARY("scui") ); + aStrBuf.append( SVLIBRARY("scui") ); if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, aStrBuf.makeStringAndClear(), SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_LAZY ) ) diff --git a/sc/source/ui/dbgui/pfiltdlg.cxx b/sc/source/ui/dbgui/pfiltdlg.cxx index 42d25e6dc9ea..f2ed203c05e7 100644 --- a/sc/source/ui/dbgui/pfiltdlg.cxx +++ b/sc/source/ui/dbgui/pfiltdlg.cxx @@ -172,7 +172,7 @@ void ScPivotFilterDlg::Init( const SfxItemSet& rArgSet ) } OUStringBuffer aBuf; - aBuf.appendAscii(" ("); + aBuf.append(" ("); aBuf.append(theDbName); aBuf.append(')'); m_pFtDbArea->SetText(aBuf.makeStringAndClear()); diff --git a/sc/source/ui/docshell/documentlinkmgr.cxx b/sc/source/ui/docshell/documentlinkmgr.cxx index 42745eb3f344..75c2da638bd3 100644 --- a/sc/source/ui/docshell/documentlinkmgr.cxx +++ b/sc/source/ui/docshell/documentlinkmgr.cxx @@ -158,12 +158,12 @@ bool DocumentLinkManager::updateDdeLinks( vcl::Window* pWin ) OUStringBuffer aBuf; aBuf.append(OUString(ScResId(SCSTR_DDEDOC_NOT_LOADED))); - aBuf.appendAscii("\n\n"); - aBuf.appendAscii("Source : "); + aBuf.append("\n\n"); + aBuf.append("Source : "); aBuf.append(aFile); - aBuf.appendAscii("\nElement : "); + aBuf.append("\nElement : "); aBuf.append(aElem); - aBuf.appendAscii("\nType : "); + aBuf.append("\nType : "); aBuf.append(aType); ScopedVclPtrInstance< MessageDialog > aBox(pWin, aBuf.makeStringAndClear()); aBox->Execute(); diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index 5eb86cf9eedf..8a0b5ecba453 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -573,22 +573,22 @@ void ScFunctionDockWin::SetDescription() OUStringBuffer aBuf(pAllFuncList->GetSelectEntry()); if(nDockMode==0) { - aBuf.appendAscii(":\n\n"); + aBuf.append(":\n\n"); } else { - aBuf.appendAscii(": "); + aBuf.append(": "); } aBuf.append(pDesc->GetParamList()); if(nDockMode==0) { - aBuf.appendAscii("\n\n"); + aBuf.append("\n\n"); } else { - aBuf.appendAscii("\n"); + aBuf.append("\n"); } aBuf.append(*pDesc->pFuncDesc); diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx index 4eb2c94bb2ec..69d602daf9f3 100644 --- a/sc/source/ui/miscdlgs/datafdlg.cxx +++ b/sc/source/ui/miscdlgs/datafdlg.cxx @@ -241,7 +241,7 @@ void ScDataFormDlg::FillCtrls(SCROW /*nCurrentRow*/) { OUStringBuffer aBuf; aBuf.append(static_cast<sal_Int32>(nCurrentRow - nStartRow)); - aBuf.appendAscii(" / "); + aBuf.append(" / "); aBuf.append(static_cast<sal_Int32>(nEndRow - nStartRow)); m_pFixedText->SetText(aBuf.makeStringAndClear()); } diff --git a/sc/source/ui/vba/vbafont.cxx b/sc/source/ui/vba/vbafont.cxx index eddb2f392611..5715f4da84d2 100644 --- a/sc/source/ui/vba/vbafont.cxx +++ b/sc/source/ui/vba/vbafont.cxx @@ -321,14 +321,14 @@ ScVbaFont::getFontStyle() throw ( uno::RuntimeException, std::exception ) bool bValue = false; getBold() >>= bValue; if( bValue ) - aStyles.appendAscii("Bold"); + aStyles.append("Bold"); getItalic() >>= bValue; if( bValue ) { if( !aStyles.isEmpty() ) - aStyles.appendAscii(" "); - aStyles.appendAscii("Italic"); + aStyles.append(" "); + aStyles.append("Italic"); } return uno::makeAny( aStyles.makeStringAndClear() ); } |