diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:38 +0100 |
commit | 6f3c52bb37f52f57fea6479f1da6c1828fbd85fe (patch) | |
tree | d8e6db66db4c28335a62fbec4a282541ae083a85 /sw/source/filter/ww8/wrtw8nds.cxx | |
parent | const_cast: convert some C-style casts and remove some redundant ones (diff) | |
download | core-6f3c52bb37f52f57fea6479f1da6c1828fbd85fe.tar.gz core-6f3c52bb37f52f57fea6479f1da6c1828fbd85fe.zip |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Icb14a036ea9d7636359b6bc5e0af17568c0d54cb
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 2f573b850b07..421c7a580f16 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -218,7 +218,7 @@ SwWW8AttrIter::SwWW8AttrIter(MSWordExportBase& rWr, const SwTxtNode& rTxtNd) : if ( !m_rExport.pDoc->getIDocumentRedlineAccess().GetRedlineTbl().empty() ) { - SwPosition aPosition( rNd, SwIndex( (SwTxtNode*)&rNd ) ); + SwPosition aPosition( rNd, SwIndex( const_cast<SwTxtNode*>(&rNd) ) ); pCurRedline = m_rExport.pDoc->getIDocumentRedlineAccess().GetRedline( aPosition, &nCurRedlinePos ); } |