summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:27:11 +0200
commit863bfb2811cb1717743bac5ab1f3583acf88d2db (patch)
treeb9e38cf5cb42963737bef1259790db872ba7cc7f /jvmfwk
parent224c8aabaa1cbe8cd203d735382a7478ba07d14d (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ie8e3bde0eeeec6cd35a7f73f9a29c28cdd03ad02
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/source/framework.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index 7035bba85dc1..a4bbc2e97ab7 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -1036,7 +1036,7 @@ javaFrameworkError jfw_existJRE(const JavaInfo *pInfo, sal_Bool *exist)
//get the function jfw_plugin_existJRE
jfw::VendorSettings aVendorSettings;
jfw::CJavaInfo aInfo;
- aInfo = (const ::JavaInfo*) pInfo; //makes a copy of pInfo
+ aInfo = pInfo; //makes a copy of pInfo
javaPluginError plerr = jfw_plugin_existJRE(pInfo, exist);
javaFrameworkError ret = JFW_E_NONE;