summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-23 09:34:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-24 09:48:16 +0100
commit48f2d4e58004796884ececcccd46bd83f0752c3e (patch)
tree903c8936d10ffbc30b5bac548e87a7a7495dcc1c /jvmfwk
parent11c13789f97dff642d52418815c0727abce5f152 (diff)
loplugin:unusedfields in helpcompiler..jvmfwk
Change-Id: Ic10c521de310e0f0ac1f79a1ae169252c20075b2 Reviewed-on: https://gerrit.libreoffice.org/68226 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx4
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/sunversion.hxx5
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);