diff options
author | Tomoyuki Kubota <himajin100000@gmail.com> | 2021-12-25 09:56:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-27 20:54:48 +0100 |
commit | 71eac37392f09f1f6f38c1a2848b7fae63eb774a (patch) | |
tree | b9a3ffe07c02037b839e5b32b898b20e05c24bc9 /sc/source | |
parent | d8428094c7f8b186b37c76fd7e9508a075424f80 (diff) |
remove unused DECL_ABSTDLG_BASE and IMPL_ABSTDLG_BASE
Change-Id: I8ba8f940cb4931974d10c8d6cf1d4fd205c18e71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127469
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/attrdlg/scdlgfact.hxx | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sc/source/ui/attrdlg/scdlgfact.hxx b/sc/source/ui/attrdlg/scdlgfact.hxx index fef206002dea..8c1fea37e998 100644 --- a/sc/source/ui/attrdlg/scdlgfact.hxx +++ b/sc/source/ui/attrdlg/scdlgfact.hxx @@ -52,51 +52,6 @@ #include <tabbgcolordlg.hxx> #include <textimportoptions.hxx> -#define DECL_ABSTDLG_BASE(Class,DialogClass) \ - ScopedVclPtr<DialogClass> pDlg; \ -public: \ - explicit Class( DialogClass* p) \ - : pDlg(p) \ - {} \ - virtual ~Class() override; \ - virtual short Execute() override ; \ - virtual bool StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx) override; \ - std::vector<OString> getAllPageUIXMLDescriptions() const override; \ - bool selectPageByUIXMLDescription(const OString& rUIXMLDescription) override; \ - virtual BitmapEx createScreenshot() const override; \ - virtual OString GetScreenshotId() const override; \ - -#define IMPL_ABSTDLG_BASE(Class) \ -Class::~Class() \ -{ \ -} \ -short Class::Execute() \ -{ \ - return pDlg->Execute(); \ -} \ -bool Class::StartExecuteAsync(VclAbstractDialog::AsyncContext &rCtx)\ -{ \ - return pDlg->StartExecuteAsync( rCtx ); \ -} \ -std::vector<OString> Class::getAllPageUIXMLDescriptions() const \ -{ \ - return pDlg->getAllPageUIXMLDescriptions(); \ -} \ -bool Class::selectPageByUIXMLDescription(const OString& rUIXMLDescription) \ -{ \ - return pDlg->selectPageByUIXMLDescription(rUIXMLDescription); \ -} \ -BitmapEx Class::createScreenshot() const \ -{ \ - VclPtr<VirtualDevice> xDialogSurface(VclPtr<VirtualDevice>::Create(DeviceFormat::DEFAULT)); \ - pDlg->createScreenshot(*xDialogSurface); \ - return xDialogSurface->GetBitmapEx(Point(), xDialogSurface->GetOutputSizePixel()); \ -} \ -OString Class::GetScreenshotId() const \ -{ \ - return pDlg->GetScreenshotId(); \ -} - class AbstractScImportAsciiDlg_Impl : public AbstractScImportAsciiDlg { std::shared_ptr<ScImportAsciiDlg> m_xDlg; |