call the correct GetNotePosition method #fdo80551

unit test is ok on Sheet but fails on Col

Change-Id: I28084118e088838b47b77537b981ebe7422ab722
Reviewed-on: https://gerrit.libreoffice.org/9934
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Laurent Godard
2014-07-02 12:58:16 +00:00
committed by Caolán McNamara
parent b807a02850
commit d528eb158c
+1 -1
View File
@@ -3538,7 +3538,7 @@ bool ScAnnotationsObj::GetAddressByIndex_Impl( sal_Int32 nIndex, ScAddress& rPos
return false;
ScDocument& rDoc = pDocShell->GetDocument();
rPos = rDoc.GetNotePosition(nIndex);
rPos = rDoc.GetNotePosition(nIndex, nTab);
return rPos.IsValid();
}