summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/drwtrans.cxx8
-rw-r--r--sc/source/ui/app/seltrans.cxx2
-rw-r--r--sc/source/ui/app/transobj.cxx4
3 files changed, 7 insertions, 7 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() );
}
}
}
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx
index 08a42296a749..ed181469bd70 100644
--- a/sc/source/ui/app/seltrans.cxx
+++ b/sc/source/ui/app/seltrans.cxx
@@ -396,7 +396,7 @@ bool ScSelectionTransferObj::GetData(
{
TransferableDataHelper aHelper( xSource );
uno::Any aAny = aHelper.GetAny(rFlavor, rDestDoc);
- bOK = SetAny( aAny, rFlavor );
+ bOK = SetAny( aAny );
}
return bOK;
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx
index ee615ff36a07..04364d2ef5f6 100644
--- a/sc/source/ui/app/transobj.cxx
+++ b/sc/source/ui/app/transobj.cxx
@@ -254,7 +254,7 @@ bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor, const OUSt
{
if ( nFormat == SotClipboardFormatId::LINKSRCDESCRIPTOR || nFormat == SotClipboardFormatId::OBJECTDESCRIPTOR )
{
- bOK = SetTransferableObjectDescriptor( aObjDesc, rFlavor );
+ bOK = SetTransferableObjectDescriptor( aObjDesc );
}
else if ( ( nFormat == SotClipboardFormatId::RTF || nFormat == SotClipboardFormatId::RICHTEXT ||
nFormat == SotClipboardFormatId::EDITENGINE ) &&
@@ -387,7 +387,7 @@ bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor, const OUSt
aMtf.Stop();
aMtf.WindStart();
- bOK = SetGDIMetaFile( aMtf, rFlavor );
+ bOK = SetGDIMetaFile( aMtf );
}
else if ( nFormat == SotClipboardFormatId::EMBED_SOURCE )
{