From c06dbbe7594c2a0b5a5b19f8e183d9c421e6e094 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 23 Feb 2012 23:36:49 +0100 Subject: remove mpNote from ScBaseCell --- sc/source/ui/view/viewfun6.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/view/viewfun6.cxx') 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(); -- cgit