remove usage of RTL_CONSTASCII_USTRINGPARAM

Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
This commit is contained in:
Luboš Luňák
2013-05-06 16:32:22 +02:00
parent d01768c31a
commit e2e2cc6114
218 changed files with 954 additions and 1061 deletions

View File

@@ -1316,7 +1316,7 @@ Reference< awt::XControlModel > BibDataManager::createGridModel(const OUString&
Reference< XPropertySetInfo > xPropInfo = xPropSet->getPropertySetInfo();
if (xPropInfo->hasPropertyByName(uProp))
{
OUString sId(RTL_CONSTASCII_USTRINGPARAM( INET_HID_SCHEME ));
OUString sId( INET_HID_SCHEME );
sId += OUString::createFromAscii( HID_BIB_DB_GRIDCTRL );
xPropSet->setPropertyValue( uProp, makeAny( sId ) );
}

View File

@@ -105,13 +105,13 @@ namespace logging
//= private helpers
namespace
{
const sal_Unicode quote_char = OUString(RTL_CONSTASCII_USTRINGPARAM("\"")).toChar();
const sal_Unicode quote_char = OUString("\"").toChar();
const sal_Unicode comma_char = OUString(",").toChar();
const OUString dos_newline = OUString("\r\n");
inline bool needsQuoting(const OUString& str)
{
static const OUString quote_trigger_chars = OUString( RTL_CONSTASCII_USTRINGPARAM("\",\n\r"));
static const OUString quote_trigger_chars = OUString( "\",\n\r");
sal_Int32 len = str.getLength();
for(sal_Int32 i=0; i<len; i++)
if(quote_trigger_chars.indexOf(str[i])!=-1)