loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I09552b4ddd8900952f499c8b9c44933c7240c866
This commit is contained in:
@@ -160,9 +160,9 @@ JavaInfo* createJavaInfo(const rtl::Reference<VendorBase> & info)
|
|||||||
buf.append(info->getRuntimeLibrary());
|
buf.append(info->getRuntimeLibrary());
|
||||||
if (!info->getLibraryPath().isEmpty())
|
if (!info->getLibraryPath().isEmpty())
|
||||||
{
|
{
|
||||||
buf.appendAscii("\n");
|
buf.append("\n");
|
||||||
buf.append(info->getLibraryPath());
|
buf.append(info->getLibraryPath());
|
||||||
buf.appendAscii("\n");
|
buf.append("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString sVendorData = buf.makeStringAndClear();
|
OUString sVendorData = buf.makeStringAndClear();
|
||||||
|
@@ -195,9 +195,9 @@ bool getAndAddJREInfoByPath(
|
|||||||
OUStringBuffer buf( 255);
|
OUStringBuffer buf( 255);
|
||||||
buf.append( getLibraryLocation());
|
buf.append( getLibraryLocation());
|
||||||
#ifdef MACOSX
|
#ifdef MACOSX
|
||||||
buf.appendAscii( "/../" LIBO_ETC_FOLDER );
|
buf.append( "/../" LIBO_ETC_FOLDER );
|
||||||
#endif
|
#endif
|
||||||
buf.appendAscii( SAL_CONFIGFILE("/sunjavaplugin") );
|
buf.append( SAL_CONFIGFILE("/sunjavaplugin") );
|
||||||
sIni = buf.makeStringAndClear();
|
sIni = buf.makeStringAndClear();
|
||||||
JFW_TRACE2("Using configuration file " << sIni);
|
JFW_TRACE2("Using configuration file " << sIni);
|
||||||
return sIni;
|
return sIni;
|
||||||
|
@@ -49,9 +49,9 @@ struct Bootstrap :
|
|||||||
#ifdef MACOSX
|
#ifdef MACOSX
|
||||||
// For some reason the jvmfwk3rc file is traditionally in
|
// For some reason the jvmfwk3rc file is traditionally in
|
||||||
// LIBO_URE_ETC_FOLDER
|
// LIBO_URE_ETC_FOLDER
|
||||||
buf.appendAscii( "/../" LIBO_URE_ETC_FOLDER );
|
buf.append( "/../" LIBO_URE_ETC_FOLDER );
|
||||||
#endif
|
#endif
|
||||||
buf.appendAscii(SAL_CONFIGFILE("/jvmfwk3"));
|
buf.append(SAL_CONFIGFILE("/jvmfwk3"));
|
||||||
OUString sIni = buf.makeStringAndClear();
|
OUString sIni = buf.makeStringAndClear();
|
||||||
::rtl::Bootstrap * bootstrap = new ::rtl::Bootstrap(sIni);
|
::rtl::Bootstrap * bootstrap = new ::rtl::Bootstrap(sIni);
|
||||||
SAL_INFO("jfw.level2", "Using configuration file " << sIni);
|
SAL_INFO("jfw.level2", "Using configuration file " << sIni);
|
||||||
|
Reference in New Issue
Block a user