summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx6
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
index 90feb46a0c07..c481269d229f 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
@@ -62,12 +62,12 @@ bool SunVersion::init(const char *szVersion)
if ( ! szVersion || strlen(szVersion) == 0)
return false;
- //first get the major,minor,maintainance
+ //first get the major,minor,maintenance
const char * pLast = szVersion;
const char * pCur = szVersion;
//pEnd point to the position after the last character
const char * pEnd = szVersion + strlen(szVersion);
- // 0 = major, 1 = minor, 2 = maintainance, 3 = update
+ // 0 = major, 1 = minor, 2 = maintenance, 3 = update
int nPart = 0;
// position within part beginning with 0
int nPartPos = 0;
@@ -257,7 +257,7 @@ bool SunVersion::operator > (const SunVersion& ver) const
if( &ver == this)
return false;
- //compare major.minor.maintainance
+ //compare major.minor.maintenance
for( int i= 0; i < 4; i ++)
{
// 1.4 > 1.3
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
index 8ac2b4eb1475..fa1dc19d220e 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx
@@ -596,7 +596,7 @@ bool getJavaInfoFromRegistry(const wchar_t* szRegKey,
// Get the path for the runtime lib
if(RegQueryValueExW(hKey, L"JavaHome", 0, &dwType, (unsigned char*) szTmpPath, &dwTmpPathLen) == ERROR_SUCCESS)
{
- // There can be several version entries refering with the same JavaHome,e.g 1.4 and 1.4.1
+ // There can be several version entries referring with the same JavaHome,e.g 1.4 and 1.4.1
OUString usHome((sal_Unicode*) szTmpPath);
// check if there is already an entry with the same JavaHomeruntime lib
// if so, we use the one with the more accurate version