summaryrefslogtreecommitdiff
path: root/cui/source/factory/dlgfact.hxx
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-07-02 23:25:00 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-07-10 16:48:09 +0200
commit1fedfa62784a4f61b0cf6cede29634dc863a7b60 (patch)
treea2c0fb351c07c5ceb050b0e588431d1c604337e9 /cui/source/factory/dlgfact.hxx
parent74d56d44804efa3424cff3434d2baf00c60b3cd5 (diff)
Prepare PasteSpecial for Async-ness (sw, basesh.cxx)
This change is needed to make the paste special dialog async exec because the current design relies on return values of inner functions/methods while moving on. After this patch, the dialog creation and execution will not be so deep, so that it will be able to be converted to async exec in the usual way. The duplication in SvPasteObjectDialog::PreGetFormat() coming from SvPasteObjectDialog::GetFormat() will go away when the conversion is complete for all modules. It is only temporarily needed. Change-Id: I55e8aee39c41be6035c89f217f90f79720f32196 Reviewed-on: https://gerrit.libreoffice.org/75016 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cui/source/factory/dlgfact.hxx')
-rw-r--r--cui/source/factory/dlgfact.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx
index 94bb772fecbe..f0e343947aaf 100644
--- a/cui/source/factory/dlgfact.hxx
+++ b/cui/source/factory/dlgfact.hxx
@@ -571,6 +571,8 @@ public:
public:
virtual void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ) override;
virtual void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ) override;
+ virtual void PreGetFormat( const TransferableDataHelper& aHelper ) override;
+ virtual SotClipboardFormatId GetFormatOnly() override;
virtual SotClipboardFormatId GetFormat( const TransferableDataHelper& aHelper ) override;
};