diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-03 15:06:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-05 08:53:47 +0200 |
commit | 93a9b70c7fe4d68f8d41edb25bc00bcac4439667 (patch) | |
tree | 4ed9020aecb400df3b6805e163a360b5c8bee888 /sc/source/ui/app/drwtrans.cxx | |
parent | ac11e45bad895e9f7de0b38fe22b7f2acf8c8e4b (diff) |
loplugin:checkunusedparams in svtools
Change-Id: Iea68d7c0683740acaf4f85c14efe2a33e0cf13e7
Reviewed-on: https://gerrit.libreoffice.org/37201
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app/drwtrans.cxx')
-rw-r--r-- | sc/source/ui/app/drwtrans.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/app/drwtrans.cxx b/sc/source/ui/app/drwtrans.cxx index fc81f99cd695..8fca4aee4228 100644 --- a/sc/source/ui/app/drwtrans.cxx +++ b/sc/source/ui/app/drwtrans.cxx @@ -370,7 +370,7 @@ bool ScDrawTransferObj::GetData( const css::datatransfer::DataFlavor& rFlavor, c pModel->SetSwapGraphicsMode( SdrSwapGraphicsMode::PURGE ); } - bOK = SetAny( aOleData.GetAny(rFlavor, rDestDoc), rFlavor ); + bOK = SetAny( aOleData.GetAny(rFlavor, rDestDoc) ); if( pModel ) pModel->SetSwapGraphicsMode( nOldSwapMode ); @@ -383,7 +383,7 @@ bool ScDrawTransferObj::GetData( const css::datatransfer::DataFlavor& rFlavor, c { if ( nFormat == SotClipboardFormatId::LINKSRCDESCRIPTOR || nFormat == SotClipboardFormatId::OBJECTDESCRIPTOR ) { - bOK = SetTransferableObjectDescriptor( aObjDesc, rFlavor ); + bOK = SetTransferableObjectDescriptor( aObjDesc ); } else if ( nFormat == SotClipboardFormatId::DRAWING ) { @@ -400,7 +400,7 @@ bool ScDrawTransferObj::GetData( const css::datatransfer::DataFlavor& rFlavor, c OSL_ENSURE( pPv, "pPv not there..." ); aView.MarkAllObj( pPv ); if ( nFormat == SotClipboardFormatId::GDIMETAFILE ) - bOK = SetGDIMetaFile( aView.GetMarkedObjMetaFile(true), rFlavor ); + bOK = SetGDIMetaFile( aView.GetMarkedObjMetaFile(true) ); else bOK = SetBitmapEx( aView.GetMarkedObjBitmapEx(true), rFlavor ); } @@ -416,7 +416,7 @@ bool ScDrawTransferObj::GetData( const css::datatransfer::DataFlavor& rFlavor, c if (pObject && pObject->GetObjIdentifier() == OBJ_GRAF) { SdrGrafObj* pGraphObj = static_cast<SdrGrafObj*>(pObject); - bOK = SetGraphic( pGraphObj->GetGraphic(), rFlavor ); + bOK = SetGraphic( pGraphObj->GetGraphic() ); } } } |