[Libreoffice-commits] core.git: Branch 'feature/sc-notes-storage' - sc/qa
Laurent Godard
lgodard.libre at laposte.net
Thu Oct 3 01:55:29 PDT 2013
sc/qa/unit/ucalc.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 326cdf10d5d57f3439198e807fbe77bd2310445e
Author: Laurent Godard <lgodard.libre at 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.
More information about the Libreoffice-commits
mailing list