diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-24 10:38:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-25 10:09:50 +0200 |
commit | 1be3bfed0a76c7e43f0376fb375abcfb5d954eb8 (patch) | |
tree | d4a99322685de0a29ec671cc9670b01441e9fddc /sw/source/core/doc/docfmt.cxx | |
parent | a8a8cb216fd2b25a1ed8b9c217685dccacaa428e (diff) |
loplugin: cstylecast
Change-Id: I5f260c59e9db918c4daad938981b874d89106b11
Diffstat (limited to 'sw/source/core/doc/docfmt.cxx')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index 3d9cbff0f3bc..0c7966e6bd69 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -1731,7 +1731,7 @@ SwTblNumFmtMerge::SwTblNumFmtMerge( const SwDoc& rSrc, SwDoc& rDest ) { // a different Doc -> Number formatter needs to be merged SvNumberFormatter* pN; - if( &rSrc != &rDest && 0 != ( pN = ((SwDoc&)rSrc).GetNumberFormatter( false ) )) + if( &rSrc != &rDest && 0 != ( pN = const_cast<SwDoc&>(rSrc).GetNumberFormatter( false ) )) ( pNFmt = rDest.GetNumberFormatter( true ))->MergeFormatter( *pN ); if( &rSrc != &rDest ) |