Kaydet (Commit) 02d0f134 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringcopy: svl

Change-Id: I47a0e13c5affa220646c59ec0bddb342f858fe53
üst 74dfe42b
......@@ -166,7 +166,7 @@ void CntContentTypeItem::SetValue( const INetContentType eType )
// virtual
bool CntContentTypeItem::QueryValue( css::uno::Any& rVal, sal_uInt8) const
{
rVal <<= OUString(GetValue());
rVal <<= GetValue();
return true;
}
......
......@@ -677,7 +677,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty
if (aPropertyName == PROPERTYNAME_FMTSTR)
{
aRet <<= OUString( pFormat->GetFormatstring() );
aRet <<= pFormat->GetFormatstring();
}
else if (aPropertyName == PROPERTYNAME_LOCALE)
{
......@@ -690,7 +690,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty
}
else if (aPropertyName == PROPERTYNAME_COMMENT)
{
aRet <<= OUString( pFormat->GetComment() );
aRet <<= pFormat->GetComment();
}
else if (aPropertyName == PROPERTYNAME_STDFORM)
{
......@@ -741,7 +741,7 @@ uno::Any SAL_CALL SvNumberFormatObj::getPropertyValue( const OUString& aProperty
const NfCurrencyEntry* pCurr = SvNumberFormatter::GetCurrencyEntry( bBank,
aSymbol, aExt, pFormat->GetLanguage() );
if ( pCurr )
aRet <<= OUString( pCurr->GetBankSymbol() );
aRet <<= pCurr->GetBankSymbol();
else
aRet <<= OUString();
}
......
......@@ -1319,7 +1319,7 @@ sal_Int32 ImpSvNumberformatScan::ScanType()
{
eScannedType = css::util::NumberFormat::UNDEFINED;
}
else if ( sStrArray[i] != OUString(pFormatter->GetDateSep()) )
else if ( sStrArray[i] != pFormatter->GetDateSep() )
{
return nPos;
}
......@@ -1358,7 +1358,7 @@ sal_Int32 ImpSvNumberformatScan::ScanType()
{
eScannedType = css::util::NumberFormat::UNDEFINED;
}
else if ( OUString(pFormatter->GetDateSep()) != sStrArray[i] &&
else if ( pFormatter->GetDateSep() != sStrArray[i] &&
!pLoc->getTimeSep().equals(sStrArray[i]) )
{
return nPos;
......
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