summaryrefslogtreecommitdiff
path: root/svl/source/items/globalnameitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/globalnameitem.cxx')
-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;
}