diff options
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx | 4 | ||||
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx | 5 |
2 files changed, 1 insertions, 8 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx index 7711a9e79907..9a5c7c28a25c 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx @@ -40,8 +40,7 @@ public: #endif SunVersion::SunVersion(const OUString &usVer): - m_nUpdateSpecial(0), m_preRelease(Rel_NONE), - usVersion(usVer) + m_nUpdateSpecial(0), m_preRelease(Rel_NONE) { memset(m_arVersionParts, 0, sizeof(m_arVersionParts)); OString sVersion= OUStringToOString(usVer, osl_getThreadTextEncoding()); @@ -52,7 +51,6 @@ SunVersion::SunVersion(const char * szVer): { memset(m_arVersionParts, 0, sizeof(m_arVersionParts)); m_bValid = init(szVer); - usVersion= OUString(szVer,strlen(szVer),osl_getThreadTextEncoding()); } diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx index 5e86612897f9..9da8e44a510e 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx @@ -96,11 +96,6 @@ public: */ operator bool () { return m_bValid;} - /** Will always contain a value if the object has been constructed with - a version string. - */ - OUString usVersion; - private: bool init(const char * szVer); |