summaryrefslogtreecommitdiffstats
path: root/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-12-16 10:46:09 +0000
committerKurt Zenker <kz@openoffice.org>2004-12-16 10:46:09 +0000
commita756344a6c124645b91ad24c7febf6ec1a243aa4 (patch)
treec15769c6de1959c8b7a4de5526e47bc0362c8e68 /jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
parentINTEGRATION: CWS jl15 (1.3.12); FILE MERGED (diff)
downloadcore-a756344a6c124645b91ad24c7febf6ec1a243aa4.tar.gz
core-a756344a6c124645b91ad24c7febf6ec1a243aa4.zip
INTEGRATION: CWS jl15 (1.2.20); FILE MERGED
2004/11/24 12:42:36 jl 1.2.20.1: #i37225#
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx23
1 files changed, 7 insertions, 16 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
index f83abbc9a4d0..1b893f1618bd 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: vendorbase.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2004-07-23 11:53:01 $
+ * last change: $Author: kz $ $Date: 2004-12-16 11:46:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -64,7 +64,6 @@
#include "vendorbase.hxx"
#include "util.hxx"
#include "sunjre.hxx"
-#include "sunversion.hxx"
using namespace std;
using namespace rtl;
@@ -297,20 +296,12 @@ bool VendorBase::needsRestart() const
int VendorBase::compareVersions(const rtl::OUString& sSecond) const
{
- OUString sFirst = getVersion();
-
- SunVersion version1(sFirst);
- SunVersion version2(sSecond);
- if ( ! (version1 && version2))
- throw MalformedVersionException();
-
- if(version1 == version2)
- return 0;
- if(version1 > version2)
- return 1;
- else
- return -1;
+ OSL_ENSURE(0, "[Java framework] VendorBase::compareVersions must be "
+ "overridden in derived class.");
+ return 0;
}
+
+
}