summaryrefslogtreecommitdiff
path: root/starmath
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 /starmath
parent5c1bb338ef0d781648d5b33ffc9d64c2be6d9926 (diff)
remove unused SfxListener subclassing
where the Notify method is doing nothing Change-Id: I834aa40a9bcb0dd8d7335a5688acc5da6f40b0a2
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/symbol.hxx6
-rw-r--r--starmath/source/symbol.cxx7
2 files changed, 3 insertions, 10 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx
index 24e46bd9a088..fbddd9f6f79b 100644
--- a/starmath/inc/symbol.hxx
+++ b/starmath/inc/symbol.hxx
@@ -75,18 +75,16 @@ typedef std::map< OUString, SmSym > SymbolMap_t;
typedef std::vector< const SmSym * > SymbolPtrVec_t;
-class SmSymbolManager : public SfxListener
+class SmSymbolManager
{
private:
SymbolMap_t m_aSymbols;
bool m_bModified;
- virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;
-
public:
SmSymbolManager();
SmSymbolManager(const SmSymbolManager& rSymbolSetManager);
- virtual ~SmSymbolManager() override;
+ ~SmSymbolManager();
SmSymbolManager & operator = (const SmSymbolManager& rSymbolSetManager);
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx
index b1b0bb16de91..927680eb74d1 100644
--- a/starmath/source/symbol.cxx
+++ b/starmath/source/symbol.cxx
@@ -91,10 +91,6 @@ bool SmSym::IsEqualInUI( const SmSym& rSymbol ) const
/**************************************************************************/
-void SmSymbolManager::Notify(SfxBroadcaster& /*rBC*/, const SfxHint& /*rHint*/)
-{
-}
-
SmSymbolManager::SmSymbolManager()
{
@@ -102,8 +98,7 @@ SmSymbolManager::SmSymbolManager()
}
-SmSymbolManager::SmSymbolManager(const SmSymbolManager& rSymbolSetManager) :
- SfxListener()
+SmSymbolManager::SmSymbolManager(const SmSymbolManager& rSymbolSetManager)
{
m_aSymbols = rSymbolSetManager.m_aSymbols;
m_bModified = true;