cid#1640468 Dereference after null check
[LibreOffice.git] / sc / source / ui / inc / MatrixComparisonGenerator.hxx
blobab1e51d7a9b41f897fe7b38ef8aaede2a7aa2fac
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #pragma once
13 #include <address.hxx>
14 #include "viewdata.hxx"
16 #include "StatisticsInputOutputDialog.hxx"
18 class ScMatrixComparisonGenerator : public ScStatisticsInputOutputDialog
20 public:
21 ScMatrixComparisonGenerator(
22 SfxBindings* pSfxBindings, SfxChildWindow* pChildWindow,
23 weld::Window* pParent, ScViewData& rViewData,
24 const OUString& rUiXmlDescription, const OUString& rID);
26 virtual ~ScMatrixComparisonGenerator() override;
28 protected:
29 virtual TranslateId GetUndoNameId() override;
30 virtual ScRange ApplyOutput(ScDocShell* pDocShell) override;
32 virtual OUString getLabel() = 0;
33 virtual OUString getTemplate() = 0;
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */