summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:57 +0200
commitaa80dcf5346477740cf9b0b45143dc1d9c6957e1 (patch)
tree4c602938bb1388370478670d741729e90ab1f932 /jvmfwk
parent6e31a794fa31dbd0d5083dbaf788ea84a7860df1 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I09552b4ddd8900952f499c8b9c44933c7240c866
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx4
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx4
-rw-r--r--jvmfwk/source/fwkutil.hxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
index 90bcd377fcc1..43556e2c566a 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
@@ -160,9 +160,9 @@ JavaInfo* createJavaInfo(const rtl::Reference<VendorBase> & info)
buf.append(info->getRuntimeLibrary());
if (!info->getLibraryPath().isEmpty())
{
- buf.appendAscii("\n");
+ buf.append("\n");
buf.append(info->getLibraryPath());
- buf.appendAscii("\n");
+ buf.append("\n");
}
OUString sVendorData = buf.makeStringAndClear();
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index b378dbfc0f78..344711e8da23 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -195,9 +195,9 @@ bool getAndAddJREInfoByPath(
OUStringBuffer buf( 255);
buf.append( getLibraryLocation());
#ifdef MACOSX
- buf.appendAscii( "/../" LIBO_ETC_FOLDER );
+ buf.append( "/../" LIBO_ETC_FOLDER );
#endif
- buf.appendAscii( SAL_CONFIGFILE("/sunjavaplugin") );
+ buf.append( SAL_CONFIGFILE("/sunjavaplugin") );
sIni = buf.makeStringAndClear();
JFW_TRACE2("Using configuration file " << sIni);
return sIni;
diff --git a/jvmfwk/source/fwkutil.hxx b/jvmfwk/source/fwkutil.hxx
index 5a9441e98b1f..5b77e037a385 100644
--- a/jvmfwk/source/fwkutil.hxx
+++ b/jvmfwk/source/fwkutil.hxx
@@ -49,9 +49,9 @@ struct Bootstrap :
#ifdef MACOSX
// For some reason the jvmfwk3rc file is traditionally in
// LIBO_URE_ETC_FOLDER
- buf.appendAscii( "/../" LIBO_URE_ETC_FOLDER );
+ buf.append( "/../" LIBO_URE_ETC_FOLDER );
#endif
- buf.appendAscii(SAL_CONFIGFILE("/jvmfwk3"));
+ buf.append(SAL_CONFIGFILE("/jvmfwk3"));
OUString sIni = buf.makeStringAndClear();
::rtl::Bootstrap * bootstrap = new ::rtl::Bootstrap(sIni);
SAL_INFO("jfw.level2", "Using configuration file " << sIni);