Kaydet (Commit) b5b73ed8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: nop between pointer types of exactly same spelling

Change-Id: I94230f5d0838f26173eb17401f7bf22ab126e7ef
üst 5d9fe379
...@@ -3441,7 +3441,7 @@ uno::Reference< datatransfer::XTransferable > ImpEditEngine::CreateTransferable( ...@@ -3441,7 +3441,7 @@ uno::Reference< datatransfer::XTransferable > ImpEditEngine::CreateTransferable(
pDataObj->GetStream().Seek( 0 ); pDataObj->GetStream().Seek( 0 );
SvxFontItem::EnableStoreUnicodeNames( false ); SvxFontItem::EnableStoreUnicodeNames( false );
((ImpEditEngine*)this)->WriteRTF( pDataObj->GetRTFStream(), aSelection ); WriteRTF( pDataObj->GetRTFStream(), aSelection );
pDataObj->GetRTFStream().Seek( 0 ); pDataObj->GetRTFStream().Seek( 0 );
if ( ( aSelection.Min().GetNode() == aSelection.Max().GetNode() ) if ( ( aSelection.Min().GetNode() == aSelection.Max().GetNode() )
......
...@@ -2307,7 +2307,7 @@ void ImpEditEngine::CreateTextPortions( ParaPortion* pParaPortion, sal_Int32& rS ...@@ -2307,7 +2307,7 @@ void ImpEditEngine::CreateTextPortions( ParaPortion* pParaPortion, sal_Int32& rS
aPositions.insert( pNode->Len() ); aPositions.insert( pNode->Len() );
if ( pParaPortion->aScriptInfos.empty() ) if ( pParaPortion->aScriptInfos.empty() )
((ImpEditEngine*)this)->InitScriptTypes( GetParaPortions().GetPos( pParaPortion ) ); InitScriptTypes( GetParaPortions().GetPos( pParaPortion ) );
const ScriptTypePosInfos& rTypes = pParaPortion->aScriptInfos; const ScriptTypePosInfos& rTypes = pParaPortion->aScriptInfos;
for ( size_t nT = 0; nT < rTypes.size(); nT++ ) for ( size_t nT = 0; nT < rTypes.size(); nT++ )
......
...@@ -1973,7 +1973,7 @@ uno::Reference< text::XText > SAL_CALL SvxUnoTextBase::getText() ...@@ -1973,7 +1973,7 @@ uno::Reference< text::XText > SAL_CALL SvxUnoTextBase::getText()
{ {
ESelection aSelection; ESelection aSelection;
::GetSelection( aSelection, GetEditSource()->GetTextForwarder() ); ::GetSelection( aSelection, GetEditSource()->GetTextForwarder() );
((SvxUnoTextBase*)this)->SetSelection( aSelection ); SetSelection( aSelection );
} }
return (text::XText*)this; return (text::XText*)this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment