summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun6.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/viewfun6.cxx
parenta6d65732f14e49be8ec61aac53a2a8b909d810f7 (diff)
remove mpNote from ScBaseCell
Diffstat (limited to 'sc/source/ui/view/viewfun6.cxx')
-rw-r--r--sc/source/ui/view/viewfun6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun6.cxx b/sc/source/ui/view/viewfun6.cxx
index 0f4736e2df8c..87f5ec1fcb6a 100644
--- a/sc/source/ui/view/viewfun6.cxx
+++ b/sc/source/ui/view/viewfun6.cxx
@@ -342,7 +342,7 @@ void ScViewFunc::EditNote()
// generated undo action is processed in FuText::StopEditMode
// get existing note or create a new note (including caption drawing object)
- if( ScPostIt* pNote = pDoc->GetOrCreateNote( aPos ) )
+ if( ScPostIt* pNote = pDoc->GetNotes(aPos.Tab())->GetOrCreateNote( aPos ) )
{
// hide temporary note caption
HideNoteMarker();