diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-02-23 23:36:49 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-02-29 23:37:51 +0100 |
commit | c06dbbe7594c2a0b5a5b19f8e183d9c421e6e094 (patch) | |
tree | 276dbc9a2c9589953c79bc45c70a965b99482ec0 /sc/inc/cell.hxx | |
parent | a6d65732f14e49be8ec61aac53a2a8b909d810f7 (diff) |
remove mpNote from ScBaseCell
Diffstat (limited to 'sc/inc/cell.hxx')
-rw-r--r-- | sc/inc/cell.hxx | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx index 93fc09f9391e..09c9f3896edf 100644 --- a/sc/inc/cell.hxx +++ b/sc/inc/cell.hxx @@ -112,7 +112,7 @@ public: /** Returns true, if the cell is empty (neither value nor formula nor cell note). Returns false for formula cells returning nothing, use HasEmptyData() for that. */ - bool IsBlank( bool bIgnoreNotes = false ) const; + bool IsBlank() const; // for idle-calculations inline sal_uInt16 GetTextWidth() const { return nTextWidth; } @@ -121,19 +121,6 @@ public: inline sal_uInt8 GetScriptType() const { return nScriptType; } inline void SetScriptType( sal_uInt8 nNew ) { nScriptType = nNew; } - /** Returns true, if the cell contains a note. */ - inline bool HasNote() const { return mpNote != 0; } - /** Returns the pointer to a cell note object (read-only). */ - inline const ScPostIt* GetNote() const { return mpNote; } - /** Returns the pointer to a cell note object. */ - inline ScPostIt* GetNote() { return mpNote; } - /** Takes ownership of the passed cell note object. */ - void TakeNote( ScPostIt* pNote ); - /** Returns and forgets the own cell note object. Caller takes ownership! */ - ScPostIt* ReleaseNote(); - /** Deletes the own cell note object. */ - void DeleteNote(); - /** Returns true, if the cell contains a broadcaster. */ inline bool HasBroadcaster() const { return mpBroadcaster != 0; } /** Returns the pointer to the cell broadcaster. */ @@ -169,7 +156,6 @@ private: ScBaseCell& operator=( const ScBaseCell& ); private: - ScPostIt* mpNote; /// The cell note. Cell takes ownership! SvtBroadcaster* mpBroadcaster; /// Broadcaster for changed values. Cell takes ownership! protected: @@ -189,8 +175,6 @@ public: /** Cell takes ownership of the passed broadcaster. */ explicit ScNoteCell( SvtBroadcaster* pBC = 0 ); - /** Cell takes ownership of the passed note and broadcaster. */ - explicit ScNoteCell( ScPostIt* pNote, SvtBroadcaster* pBC = 0 ); #if OSL_DEBUG_LEVEL > 0 ~ScNoteCell(); |