summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin5.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-23 23:36:49 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-29 23:37:51 +0100
commitc06dbbe7594c2a0b5a5b19f8e183d9c421e6e094 (patch)
tree276dbc9a2c9589953c79bc45c70a965b99482ec0 /sc/source/ui/view/gridwin5.cxx
parenta6d65732f14e49be8ec61aac53a2a8b909d810f7 (diff)
remove mpNote from ScBaseCell
Diffstat (limited to 'sc/source/ui/view/gridwin5.cxx')
-rw-r--r--sc/source/ui/view/gridwin5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin5.cxx b/sc/source/ui/view/gridwin5.cxx
index ed6ebae8fc47..62af15157675 100644
--- a/sc/source/ui/view/gridwin5.cxx
+++ b/sc/source/ui/view/gridwin5.cxx
@@ -199,7 +199,7 @@ bool ScGridWindow::ShowNoteMarker( SCsCOL nPosX, SCsROW nPosY, bool bKeyboard )
}
// Notiz nur, wenn sie nicht schon auf dem Drawing-Layer angezeigt wird:
- const ScPostIt* pNote = pDoc->GetNote( aCellPos );
+ const ScPostIt* pNote = pDoc->GetNotes( aCellPos.Tab() )->findByAddress( aCellPos );
if ( (aTrackText.Len() > 0) || (pNote && !pNote->IsCaptionShown()) )
{
bool bNew = true;