diff options
author | obo <obo@openoffice.org> | 2011-03-16 11:42:17 +0100 |
---|---|---|
committer | obo <obo@openoffice.org> | 2011-03-16 11:42:17 +0100 |
commit | 5b2cda248a43fa7ed094271b5f553ff6e13d45aa (patch) | |
tree | b6b605ee630dd04259506c0b7cdfb2e511e95e24 /sw/inc/txtatr.hxx | |
parent | f36f35bef2c1e1beb8f43845ccf4b49d9f812a03 (diff) | |
parent | bde549822041c6599102a8d155e2760f7fa95c4c (diff) |
CWS-TOOLING: integrate CWS swlayoutrefactoring
Diffstat (limited to 'sw/inc/txtatr.hxx')
-rw-r--r-- | sw/inc/txtatr.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx index a8b4fbb2211f..cd16a93bd09b 100644 --- a/sw/inc/txtatr.hxx +++ b/sw/inc/txtatr.hxx @@ -50,9 +50,9 @@ public: SwTxtCharFmt( SwFmtCharFmt& rAttr, xub_StrLen nStart, xub_StrLen nEnd ); virtual ~SwTxtCharFmt( ); - // werden vom SwFmtCharFmt hierher weitergeleitet - virtual void Modify( SfxPoolItem*, SfxPoolItem* ); // SwClient - virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + // werden vom SwFmtCharFmt hierher weitergeleitet (no derivation from SwClient!) + void ModifyNotification( const SfxPoolItem*, const SfxPoolItem* ); + bool GetInfo( SfxPoolItem& rInfo ) const; // get and set TxtNode pointer void ChgTxtNode( SwTxtNode* pNew ) { m_pTxtNode = pNew; } @@ -97,15 +97,17 @@ public: class SW_DLLPUBLIC SwTxtRuby : public SwTxtAttrNesting, public SwClient { SwTxtNode* m_pTxtNode; - +protected: + virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew); public: SwTxtRuby( SwFmtRuby& rAttr, xub_StrLen nStart, xub_StrLen nEnd ); virtual ~SwTxtRuby(); TYPEINFO(); - virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew); virtual sal_Bool GetInfo( SfxPoolItem& rInfo ) const; + SW_DLLPRIVATE void InitRuby(SwTxtNode & rNode); + /// get and set TxtNode pointer const SwTxtNode* GetpTxtNode() const { return m_pTxtNode; } inline const SwTxtNode& GetTxtNode() const; |