summaryrefslogtreecommitdiff
path: root/chart2/source/inc/ChartResourceGroups.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/ChartResourceGroups.hxx')
-rw-r--r--chart2/source/inc/ChartResourceGroups.hxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/chart2/source/inc/ChartResourceGroups.hxx b/chart2/source/inc/ChartResourceGroups.hxx
index 2a81b5cfd3cc..ecb886f194af 100644
--- a/chart2/source/inc/ChartResourceGroups.hxx
+++ b/chart2/source/inc/ChartResourceGroups.hxx
@@ -27,7 +27,6 @@
namespace chart
{
using namespace ::com::sun::star;
-using namespace ::com::sun::star::chart2;
class SplinePropertiesDialog;
class SteppedPropertiesDialog;
@@ -38,7 +37,7 @@ enum
POS_3DSCHEME_REALISTIC = 1
};
-class Dim3DLookResourceGroup : public ChangingResource
+class Dim3DLookResourceGroup final : public ChangingResource
{
public:
explicit Dim3DLookResourceGroup(weld::Builder* pBuilder);
@@ -57,7 +56,7 @@ private:
std::unique_ptr<weld::ComboBox> m_xLB_Scheme;
};
-class SortByXValuesResourceGroup : public ChangingResource
+class SortByXValuesResourceGroup final : public ChangingResource
{
public:
explicit SortByXValuesResourceGroup(weld::Builder* pBuilder);
@@ -74,7 +73,7 @@ private:
std::unique_ptr<weld::CheckButton> m_xCB_XValueSorting;
};
-class StackingResourceGroup : public ChangingResource
+class StackingResourceGroup final : public ChangingResource
{
public:
explicit StackingResourceGroup(weld::Builder* pBuilder);
@@ -99,7 +98,7 @@ private:
#define POS_LINETYPE_SMOOTH 1
#define POS_LINETYPE_STEPPED 2
-class SplineResourceGroup : public ChangingResource
+class SplineResourceGroup final : public ChangingResource
{
public:
explicit SplineResourceGroup(weld::Builder* pBuilder, weld::Window* pParent);
@@ -113,19 +112,19 @@ private:
DECL_LINK(LineTypeChangeHdl, weld::ComboBox&, void);
DECL_LINK(SplineDetailsDialogHdl, weld::Button&, void);
DECL_LINK(SteppedDetailsDialogHdl, weld::Button&, void);
- SplinePropertiesDialog& getSplinePropertiesDialog();
- SteppedPropertiesDialog& getSteppedPropertiesDialog();
+ std::shared_ptr<SplinePropertiesDialog> getSplinePropertiesDialog();
+ std::shared_ptr<SteppedPropertiesDialog> getSteppedPropertiesDialog();
private:
weld::Window* m_pParent;
std::unique_ptr<weld::Label> m_xFT_LineType;
std::unique_ptr<weld::ComboBox> m_xLB_LineType;
std::unique_ptr<weld::Button> m_xPB_DetailsDialog;
- std::unique_ptr<SplinePropertiesDialog> m_xSplinePropertiesDialog;
- std::unique_ptr<SteppedPropertiesDialog> m_xSteppedPropertiesDialog;
+ std::shared_ptr<SplinePropertiesDialog> m_xSplinePropertiesDialog;
+ std::shared_ptr<SteppedPropertiesDialog> m_xSteppedPropertiesDialog;
};
-class GeometryResourceGroup : public ChangingResource
+class GeometryResourceGroup final : public ChangingResource
{
public:
explicit GeometryResourceGroup(weld::Builder* pBuilder);