diff options
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r-- | sc/inc/document.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 365cffdae538..339bbb00c047 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -919,10 +919,11 @@ public: SC_DLLPUBLIC ScPostIt* GetNote(SCCOL nCol, SCROW nRow, SCTAB nTab); void SetNote(const ScAddress& rPos, ScPostIt* pNote); void SetNote(SCCOL nCol, SCROW nRow, SCTAB nTab, ScPostIt* pNote); - bool HasNote(const ScAddress& rPos); - bool HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab); - SC_DLLPUBLIC bool HasColNotes(SCCOL nCol, SCTAB nTab); - SC_DLLPUBLIC bool HasTabNotes(SCTAB nTab); + bool HasNote(const ScAddress& rPos) const; + bool HasNote(SCCOL nCol, SCROW nRow, SCTAB nTab) const; + SC_DLLPUBLIC bool HasColNotes(SCCOL nCol, SCTAB nTab) const; + SC_DLLPUBLIC bool HasTabNotes(SCTAB nTab) const; + bool HasNotes() const; SC_DLLPUBLIC ScPostIt* ReleaseNote(const ScAddress& rPos); SC_DLLPUBLIC ScPostIt* GetOrCreateNote(const ScAddress& rPos); SC_DLLPUBLIC ScPostIt* CreateNote(const ScAddress& rPos); |