diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-12 10:56:22 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-13 06:38:12 +0000 |
commit | c9b4e298137ed7c3112de533d44ddf56b1ebca6d (patch) | |
tree | e0afe5a2b31aa4cd04a40a364d7338a48f1d0535 /svl | |
parent | 5ff1e6bdf7f5b9db3b72d62537047fc45b7d104b (diff) |
loplugin:constparams in tools
Change-Id: Iea05efbb90a0a95fefd18ae9673095a31422f06c
Reviewed-on: https://gerrit.libreoffice.org/27137
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/globalnameitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/globalnameitem.cxx b/svl/source/items/globalnameitem.cxx index e0239a5e9aa8..46b3972e283b 100644 --- a/svl/source/items/globalnameitem.cxx +++ b/svl/source/items/globalnameitem.cxx @@ -73,7 +73,7 @@ bool SfxGlobalNameItem::PutValue( const css::uno::Any& rVal, sal_uInt8 ) aNew >>= aSeq; if ( aSeq.getLength() == 16 ) { - m_aName.MakeFromMemory( const_cast<sal_Int8 *>(aSeq.getConstArray()) ); + m_aName.MakeFromMemory( aSeq.getConstArray() ); return true; } |