[Libreoffice-commits] core.git: sc/source

Laurent Godard lgodard.libre at laposte.net
Wed Jul 2 05:58:40 PDT 2014


 sc/source/ui/unoobj/docuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d528eb158cce3c44cd976a0d5a65b7f0c012672c
Author: Laurent Godard <lgodard.libre at laposte.net>
Date:   Fri Jun 27 16:19:03 2014 +0200

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 2662e4c..6852d1c 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -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();
 }
 


More information about the Libreoffice-commits mailing list