summaryrefslogtreecommitdiffstats
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-12 10:56:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-13 06:38:12 +0000
commitc9b4e298137ed7c3112de533d44ddf56b1ebca6d (patch)
treee0afe5a2b31aa4cd04a40a364d7338a48f1d0535 /svl
parentlokdocview: Add missing callbacks (diff)
downloadcore-c9b4e298137ed7c3112de533d44ddf56b1ebca6d.tar.gz
core-c9b4e298137ed7c3112de533d44ddf56b1ebca6d.zip
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.cxx2
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;
}