diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:28:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:30 +0100 |
commit | 812e5e8ed7c408cb7f2388ab718365354bfc9a41 (patch) | |
tree | 722c1931584651940a725f130f58434c86a480e4 /editeng/source/uno/unotext.cxx | |
parent | 93cf4dcf443c839c90b19dd68ea64bc1f31a2d91 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I8682fee997d8dac254ca431f96172c9aa58c8c06
Diffstat (limited to 'editeng/source/uno/unotext.cxx')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 3d00ca00b7a5..0a94a73194c0 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -678,7 +678,7 @@ void SvxUnoTextRangeBase::getPropertyValue( const SfxItemPropertySimpleEntry* pM break; default: - if(!GetPropertyValueHelper( *((SfxItemSet*)(&rSet)), pMap, rAny, &maSelection, GetEditSource() )) + if(!GetPropertyValueHelper( *const_cast<SfxItemSet*>(&rSet), pMap, rAny, &maSelection, GetEditSource() )) rAny = mpPropSet->getPropertyValue(pMap, rSet, true, false ); } } |