From 4cdd1c978ed2076ca59e91146b3cc04ab836c434 Mon Sep 17 00:00:00 2001 From: Sören Möller Date: Sun, 9 Jan 2011 18:12:47 +0100 Subject: Changed String to OUString in public variables of ScFuncDesc I have changed four public variables of ScFuncDesc in sc/inc/funcdesc.hxx from deprecated String to OUString and corrected all uses of these variables --- sc/source/core/tool/addincol.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sc/source/core/tool/addincol.cxx') diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 9afecd22121e..cc9a194f74fa 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -1048,7 +1048,7 @@ void ScUnoAddInCollection::ReadFromAddIn( const uno::Reference& void lcl_UpdateFunctionList( ScFunctionList& rFunctionList, const ScUnoAddInFuncData& rFuncData ) { - String aCompare = rFuncData.GetUpperLocal(); // as used in FillFunctionDescFromData + ::rtl::OUString aCompare = (::rtl::OUString)rFuncData.GetUpperLocal(); // as used in FillFunctionDescFromData ULONG nCount = rFunctionList.GetCount(); for (ULONG nPos=0; nPosLen() == 0 ) + if ( rDesc.ppDefArgNames[nArg]->getLength() == 0 ) { String aDefName( RTL_CONSTASCII_USTRINGPARAM("arg") ); aDefName += String::CreateFromInt32( nArg+1 ); -- cgit v1.2.3