summaryrefslogtreecommitdiff
path: root/extensions/source/plugin
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:26:25 +0200
commit5e2fe8f2a0743e6e0fe587fe0f36d4bc9e0329b6 (patch)
tree0b61e7b1b18c5b0943de279cdb567cdffb266c57 /extensions/source/plugin
parent2e2a46fc651e8a030434e11ca35d2b1bab423c9a (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I636c05a34afc857c75a35e4c6fefedbce3e99c06
Diffstat (limited to 'extensions/source/plugin')
-rw-r--r--extensions/source/plugin/base/xplugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index 9933739cddca..c7c062191e1d 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -565,8 +565,8 @@ void XPlugin_Impl::loadPlugin()
&getNPPInstance(),
m_aPluginMode == PluginMode::FULL ? NP_FULL : NP_EMBED,
::sal::static_int_cast< int16_t, int >( m_nArgs ),
- (char**)(m_nArgs ? m_pArgn : NULL),
- (char**)(m_nArgs ? m_pArgv : NULL),
+ const_cast<char**>(m_nArgs ? m_pArgn : NULL),
+ const_cast<char**>(m_nArgs ? m_pArgv : NULL),
NULL );
#ifdef MACOSX
// m_aNPWindow is set up in the MacPluginComm from the view