loplugin:stringconstant: adapt to improved OUStringLiteral1 (cui)

Change-Id: I75013800fca4475ff2cb93a1f5c34cd37b93bc6e
This commit is contained in:
Stephan Bergmann 2016-08-30 15:27:34 +02:00
parent 489a47dfa0
commit d42bc6e313

View File

@ -274,12 +274,12 @@ OUString SvxMultiPathDialog::GetPath() const
else
{
if ( !sNewPath.isEmpty() )
sNewPath += OUString(cDelim);
sNewPath += OUStringLiteral1(cDelim);
sNewPath += *static_cast<OUString*>(pEntry->GetUserData());
}
}
if ( !sNewPath.isEmpty() )
sNewPath += OUString(cDelim);
sNewPath += OUStringLiteral1(cDelim);
sNewPath += sWritable;
return sNewPath;
@ -293,7 +293,7 @@ OUString SvxPathSelectDialog::GetPath() const
for ( sal_Int32 i = 0; i < m_pPathLB->GetEntryCount(); ++i )
{
if ( !sNewPath.isEmpty() )
sNewPath += OUString(cDelim);
sNewPath += OUStringLiteral1(cDelim);
sNewPath += *static_cast<OUString*>(m_pPathLB->GetEntryData(i));
}