summaryrefslogtreecommitdiff
path: root/cui/source/options/cfgchart.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-10 12:52:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-10 19:26:05 +0000
commit85cdae23f1bb184d50500deb37f24d650f5e9230 (patch)
tree34140871454459a997735db0866433214b9f19ca /cui/source/options/cfgchart.hxx
parentf74490877aae984d2991e18118baae797db04e92 (diff)
Use officecfg instead of SvxChartOptions
Change-Id: Ie7fddd86baa029890cd6874fdfae186098d00407 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148604 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/cfgchart.hxx')
-rw-r--r--cui/source/options/cfgchart.hxx27
1 files changed, 3 insertions, 24 deletions
diff --git a/cui/source/options/cfgchart.hxx b/cui/source/options/cfgchart.hxx
index 8e49e190d00c..ce39b0a1734a 100644
--- a/cui/source/options/cfgchart.hxx
+++ b/cui/source/options/cfgchart.hxx
@@ -19,10 +19,8 @@
#pragma once
-#include <unotools/configitem.hxx>
#include <svl/poolitem.hxx>
#include <svx/xtable.hxx>
-
#include <vector>
class SvxChartColorTable
@@ -51,29 +49,10 @@ public:
// all options
-class SvxChartOptions : public ::utl::ConfigItem
+namespace SvxChartOptions
{
-private:
- SvxChartColorTable maDefColors;
- bool mbIsInitialized;
-
- css::uno::Sequence< OUString >
- maPropertyNames;
-
- const css::uno::Sequence< OUString >& GetPropertyNames() const
- { return maPropertyNames; }
- bool RetrieveOptions();
-
- virtual void ImplCommit() override;
-
-public:
- SvxChartOptions();
- virtual ~SvxChartOptions() override;
-
- const SvxChartColorTable& GetDefaultColors();
- void SetDefaultColors( const SvxChartColorTable& aCol );
-
- virtual void Notify( const css::uno::Sequence< OUString >& _rPropertyNames) override;
+ SvxChartColorTable GetDefaultColors();
+ void SetDefaultColors( const SvxChartColorTable& aCol );
};