summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ConfigColorScheme.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-06 11:48:40 +0200
committerNoel Grandin <noel@peralex.com>2015-10-07 08:27:25 +0200
commit05e61719e2f4456fab8f5f9875fd96c70c07c4cd (patch)
tree459b14f444c795c8df518ccf8ecf0b00ec6fb6d3 /chart2/source/tools/ConfigColorScheme.cxx
parent2b57de8bb0064be828265bf08805b1bc345e62bf (diff)
loplugin:mergeclasses
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
Diffstat (limited to 'chart2/source/tools/ConfigColorScheme.cxx')
-rw-r--r--chart2/source/tools/ConfigColorScheme.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx
index 3743205f04aa..cfd000f105b5 100644
--- a/chart2/source/tools/ConfigColorScheme.cxx
+++ b/chart2/source/tools/ConfigColorScheme.cxx
@@ -52,31 +52,27 @@ namespace impl
class ChartConfigItem : public ::utl::ConfigItem
{
public:
- explicit ChartConfigItem( ConfigItemListener & rListener );
- virtual ~ChartConfigItem();
+ explicit ChartConfigItem( ConfigColorScheme & rListener );
+ virtual ~ChartConfigItem() {}
void addPropertyNotification( const OUString & rPropertyName );
-
uno::Any getProperty( const OUString & aPropertyName );
protected:
// ____ ::utl::ConfigItem ____
- virtual void ImplCommit() SAL_OVERRIDE;
+ virtual void ImplCommit() SAL_OVERRIDE;
virtual void Notify( const Sequence< OUString > & aPropertyNames ) SAL_OVERRIDE;
private:
- ConfigItemListener & m_rListener;
- ::std::set< OUString > m_aPropertiesToNotify;
+ ConfigColorScheme & m_rListener;
+ ::std::set< OUString > m_aPropertiesToNotify;
};
-ChartConfigItem::ChartConfigItem( ConfigItemListener & rListener ) :
+ChartConfigItem::ChartConfigItem( ConfigColorScheme & rListener ) :
::utl::ConfigItem( "Office.Chart/DefaultColor" ),
m_rListener( rListener )
{}
-ChartConfigItem::~ChartConfigItem()
-{}
-
void ChartConfigItem::Notify( const Sequence< OUString > & aPropertyNames )
{
for( sal_Int32 nIdx=0; nIdx<aPropertyNames.getLength(); ++nIdx )