diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-11 12:49:32 +0200 |
commit | b5b73ed868732f3ac12f5261c7e5cb14e0eab644 (patch) | |
tree | 974caad9f70da3aad0371e166e2503f4b4133005 /editeng | |
parent | 5d9fe3793ad1bcabafd108ecf036dd389a873fc0 (diff) |
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I94230f5d0838f26173eb17401f7bf22ab126e7ef
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 0010e72ef550..d74bb8b44fc7 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3441,7 +3441,7 @@ uno::Reference< datatransfer::XTransferable > ImpEditEngine::CreateTransferable( pDataObj->GetStream().Seek( 0 ); SvxFontItem::EnableStoreUnicodeNames( false ); - ((ImpEditEngine*)this)->WriteRTF( pDataObj->GetRTFStream(), aSelection ); + WriteRTF( pDataObj->GetRTFStream(), aSelection ); pDataObj->GetRTFStream().Seek( 0 ); if ( ( aSelection.Min().GetNode() == aSelection.Max().GetNode() ) diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index 19a12c3cd8a5..7685e316d084 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -2307,7 +2307,7 @@ void ImpEditEngine::CreateTextPortions( ParaPortion* pParaPortion, sal_Int32& rS aPositions.insert( pNode->Len() ); if ( pParaPortion->aScriptInfos.empty() ) - ((ImpEditEngine*)this)->InitScriptTypes( GetParaPortions().GetPos( pParaPortion ) ); + InitScriptTypes( GetParaPortions().GetPos( pParaPortion ) ); const ScriptTypePosInfos& rTypes = pParaPortion->aScriptInfos; for ( size_t nT = 0; nT < rTypes.size(); nT++ ) diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index b3cf7127b0a8..ed896e2e2ac8 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1973,7 +1973,7 @@ uno::Reference< text::XText > SAL_CALL SvxUnoTextBase::getText() { ESelection aSelection; ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() ); - ((SvxUnoTextBase*)this)->SetSelection( aSelection ); + SetSelection( aSelection ); } return (text::XText*)this; |