From da40cac540e7d735edbe9069b3c8ec6af4530208 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Mon, 10 Nov 2014 15:05:25 +0100 Subject: Fix common typos. No automatic tools. Handmade… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 8 ++++---- jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 2 +- jvmfwk/plugins/sunmajor/pluginlib/util.hxx | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'jvmfwk/plugins') diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx index 504c16c9e0e6..09833e106c89 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx @@ -55,7 +55,7 @@ SunVersion::SunVersion(const char * szVer): } -/**Format major.minor.maintainance_update +/**Format major.minor.maintenance_update */ bool SunVersion::init(const char *szVersion) { @@ -86,10 +86,10 @@ bool SunVersion::init(const char *szVersion) else if ( ! (nPartPos == 0) // prevents: ".4.1", "..1", part must start with digit && ( - //separators after maintainance (1.4.1_01, 1.4.1-beta, or1.4.1 + //separators after maintenance (1.4.1_01, 1.4.1-beta, or 1.4.1) ((pCur == pEnd || *pCur == '_' || *pCur == '-') && (nPart == 2 )) || - //separators between major-minor and minor-maintainance + //separators between major-minor and minor-maintenance (nPart < 2 && *pCur == '.') ) && ( //prevent 1.4.0. 1.4.0- @@ -270,7 +270,7 @@ bool SunVersion::operator > (const SunVersion& ver) const return false; } } - //major.minor.maintainance_update are equal. test for a trailing char + //major.minor.maintenance_update are equal. Test for a trailing char if (m_nUpdateSpecial > ver.m_nUpdateSpecial) { return true; diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 46f39113a7f4..1a2173dd3c4c 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -698,7 +698,7 @@ void bubbleSortVersion(vector >& vec) } catch (MalformedVersionException & ) { - //The second version is invalid, therefore it is regardes less. + //The second version is invalid, therefore it regards less. nCmp = 1; } } diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.hxx b/jvmfwk/plugins/sunmajor/pluginlib/util.hxx index 7b1830909566..0f0bf04f2619 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.hxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.hxx @@ -95,7 +95,7 @@ rtl::Reference getJREInfoByPath(const OUString& path); first if the path corresponds to one of the VendorBase::getHome path already contained in vecInfo. Only if there is no such entry, then the other getJREInfoByPath is called. Again the created VendorBase is compared to - those contained in vecInfos. If it it not in there then it's added. + those contained in vecInfos. If it is not in there then it's added. @return true a VendorBase was created and added to the end of vecInfos. -- cgit