summaryrefslogtreecommitdiff
path: root/chart2/source/inc
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/inc
parent2b57de8bb0064be828265bf08805b1bc345e62bf (diff)
loplugin:mergeclasses
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/ConfigColorScheme.hxx8
-rw-r--r--chart2/source/inc/ConfigItemListener.hxx42
2 files changed, 3 insertions, 47 deletions
diff --git a/chart2/source/inc/ConfigColorScheme.hxx b/chart2/source/inc/ConfigColorScheme.hxx
index 6214211a9541..36f9efd2d814 100644
--- a/chart2/source/inc/ConfigColorScheme.hxx
+++ b/chart2/source/inc/ConfigColorScheme.hxx
@@ -19,7 +19,6 @@
#ifndef INCLUDED_CHART2_SOURCE_INC_CONFIGCOLORSCHEME_HXX
#define INCLUDED_CHART2_SOURCE_INC_CONFIGCOLORSCHEME_HXX
-#include "ConfigItemListener.hxx"
#include "charttoolsdllapi.hxx"
#include <cppuhelper/implbase.hxx>
#include <comphelper/uno3.hxx>
@@ -42,7 +41,6 @@ class ChartConfigItem;
}
class ConfigColorScheme :
- public ConfigItemListener,
public ::cppu::WeakImplHelper<
::com::sun::star::chart2::XColorScheme,
::com::sun::star::lang::XServiceInfo >
@@ -64,14 +62,14 @@ public:
static OUString getImplementationName_Static();
static css::uno::Sequence< OUString > getSupportedServiceNames_Static();
+ // ____ ConfigItemListener ____
+ SAL_DLLPRIVATE void notify( const OUString & rPropertyName );
+
protected:
// ____ XColorScheme ____
SAL_DLLPRIVATE virtual ::sal_Int32 SAL_CALL getColorByIndex( ::sal_Int32 nIndex )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- // ____ ConfigItemListener ____
- SAL_DLLPRIVATE virtual void notify( const OUString & rPropertyName ) SAL_OVERRIDE;
-
private:
SAL_DLLPRIVATE void retrieveConfigColors();
diff --git a/chart2/source/inc/ConfigItemListener.hxx b/chart2/source/inc/ConfigItemListener.hxx
deleted file mode 100644
index 7d3b82e5600f..000000000000
--- a/chart2/source/inc/ConfigItemListener.hxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef INCLUDED_CHART2_SOURCE_INC_CONFIGITEMLISTENER_HXX
-#define INCLUDED_CHART2_SOURCE_INC_CONFIGITEMLISTENER_HXX
-
-#include <rtl/ustring.hxx>
-#include "charttoolsdllapi.hxx"
-
-namespace chart
-{
-
-class OOO_DLLPUBLIC_CHARTTOOLS ConfigItemListener
-{
-public:
- virtual void notify( const OUString & rPropertyName ) = 0;
-
-protected:
- ~ConfigItemListener() {}
-};
-
-} // namespace chart
-
-// INCLUDED_CHART2_SOURCE_INC_CONFIGITEMLISTENER_HXX
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */