diff options
Diffstat (limited to 'sc/source/ui/inc/transobj.hxx')
-rw-r--r-- | sc/source/ui/inc/transobj.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/inc/transobj.hxx b/sc/source/ui/inc/transobj.hxx index ad15541fc3f3..e22ee5be52f3 100644 --- a/sc/source/ui/inc/transobj.hxx +++ b/sc/source/ui/inc/transobj.hxx @@ -23,6 +23,7 @@ #include <svtools/transfer.hxx> #include <global.hxx> #include <address.hxx> +#include <document.hxx> #include <sfx2/objsh.hxx> @@ -40,7 +41,7 @@ namespace com { namespace sun { namespace star { class ScTransferObj : public TransferableHelper { private: - std::unique_ptr<ScDocument> m_pDoc; + ScDocumentUniquePtr m_pDoc; ScRange m_aBlock; SCROW m_nNonFiltered; // non-filtered rows TransferableObjectDescriptor m_aObjDesc; @@ -69,7 +70,7 @@ private: static void GetAreaSize( const ScDocument* pDoc, SCTAB nTab1, SCTAB nTab2, SCROW& nRow, SCCOL& nCol ); public: - ScTransferObj( ScDocument* pClipDoc, const TransferableObjectDescriptor& rDesc ); + ScTransferObj( ScDocumentUniquePtr pClipDoc, const TransferableObjectDescriptor& rDesc ); virtual ~ScTransferObj() override; virtual void AddSupportedFormats() override; |