summaryrefslogtreecommitdiff
path: root/sc/inc/afmtuno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-24 08:20:45 +0200
committerNoel Grandin <noel@peralex.com>2016-10-24 08:21:28 +0200
commit6f428c38c533026c9749f71ed3144db2d4575ab6 (patch)
tree31a758fa714bc2e2d070e343356307b67d8a4045 /sc/inc/afmtuno.hxx
parent5c1bb338ef0d781648d5b33ffc9d64c2be6d9926 (diff)
remove unused SfxListener subclassing
where the Notify method is doing nothing Change-Id: I834aa40a9bcb0dd8d7335a5688acc5da6f40b0a2
Diffstat (limited to 'sc/inc/afmtuno.hxx')
-rw-r--r--sc/inc/afmtuno.hxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/sc/inc/afmtuno.hxx b/sc/inc/afmtuno.hxx
index cbc1cf202e70..8ed8eb03bda4 100644
--- a/sc/inc/afmtuno.hxx
+++ b/sc/inc/afmtuno.hxx
@@ -118,8 +118,7 @@ class ScAutoFormatObj : public ::cppu::WeakImplHelper<
css::container::XNamed,
css::beans::XPropertySet,
css::lang::XUnoTunnel,
- css::lang::XServiceInfo >,
- public SfxListener
+ css::lang::XServiceInfo >
{
private:
SfxItemPropertySet aPropSet;
@@ -131,8 +130,6 @@ public:
ScAutoFormatObj(sal_uInt16 nIndex);
virtual ~ScAutoFormatObj() override;
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
-
// per getImplementation gerufen:
bool IsInserted() const { return nFormatIndex != SC_AFMTOBJ_INVALID; }
void InitFormat( sal_uInt16 nNewIndex );
@@ -219,20 +216,17 @@ public:
class ScAutoFormatFieldObj : public ::cppu::WeakImplHelper<
css::beans::XPropertySet,
- css::lang::XServiceInfo >,
- public SfxListener
+ css::lang::XServiceInfo >
{
private:
SfxItemPropertySet aPropSet;
- sal_uInt16 nFormatIndex;
- sal_uInt16 nFieldIndex;
+ sal_uInt16 nFormatIndex;
+ sal_uInt16 nFieldIndex;
public:
ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField);
virtual ~ScAutoFormatFieldObj() override;
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
-
// XPropertySet
virtual css::uno::Reference< css::beans::XPropertySetInfo >
SAL_CALL getPropertySetInfo()