sc/qa/unit/ucalc.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 326cdf10d5d57f3439198e807fbe77bd2310445e Author: Laurent Godard <lgodard.li...@laposte.net> Date: Thu Oct 3 10:44:19 2013 +0200 add a text in the note of testCopyToDocument Change-Id: I57dadbdeeb9f1b1a3dc96cc32f563f78488cf31f diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index 662d11c..de49739 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -516,7 +516,8 @@ void Test::testCopyToDocument() //note on A1 ScAddress aAdrA1 (0, 0, 0); // numerical cell content OUString aHelloA1("Hello world in A1"); - m_pDoc->GetOrCreateNote(aAdrA1); + ScPostIt* pNote = m_pDoc->GetOrCreateNote(aAdrA1); + pNote->SetText(aAdrA1, aHelloA1); // Copy statically to another document. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits