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:
@@ -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 ) );
|
||||
}
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user