summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/transobj.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/transobj.hxx')
-rw-r--r--sc/source/ui/inc/transobj.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx
index 11f218a4c5b7..ced505cc369e 100644
--- a/sc/source/ui/inc/transobj.hxx
+++ b/sc/source/ui/inc/transobj.hxx
@@ -78,7 +78,7 @@ public:
const css::datatransfer::DataFlavor& rFlavor ) override;
virtual void DragFinished( sal_Int8 nDropAction ) override;
- ScDocument* GetDocument() { return m_pDoc; } // owned by ScTransferObj
+ ScDocument* GetDocument() const { return m_pDoc; } // owned by ScTransferObj
const ScRange& GetRange() const { return m_aBlock; }
SCROW GetNonFilteredRows() const { return m_nNonFiltered; }
SCCOL GetDragHandleX() const { return m_nDragHandleX; }
@@ -103,7 +103,7 @@ public:
void SetDragWasInternal();
SC_DLLPUBLIC void SetUseInApi( bool bSet );
- static SC_DLLPUBLIC ScTransferObj* GetOwnClipboard( vcl::Window* pUIWin );
+ static SC_DLLPUBLIC ScTransferObj* GetOwnClipboard(const css::uno::Reference<css::datatransfer::XTransferable2>&);
static SfxObjectShell* SetDrawClipDoc( bool bAnyOle ); // update ScGlobal::xDrawClipDocShellRef
virtual sal_Int64 SAL_CALL getSomething( const com::sun::star::uno::Sequence< sal_Int8 >& rId ) override;