From fbb08fed6d36eb0f82fba45bbae08e4a4576081d Mon Sep 17 00:00:00 2001 From: Noel Power Date: Wed, 12 Dec 2012 10:04:58 +0000 Subject: counteract the addressing default for the test Change-Id: I7fc8936a753928a77b8df62ed205f1202122e47c --- sc/qa/unit/ucalc.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sc/qa/unit/ucalc.cxx') diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index cab47a690fc6..e2cee79055b4 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -4414,6 +4414,7 @@ void Test::testCopyPasteFormulasExternalDoc() SfxMedium* pMedium = new SfxMedium(aDocName, STREAM_STD_READWRITE); m_xDocShRef->DoInitNew(pMedium); m_pDoc = m_xDocShRef->GetDocument(); + m_pDoc->SetGrammar(formula::FormulaGrammar::GRAM_NATIVE); ScDocShellRef xExtDocSh = new ScDocShell; OUString aExtDocName("file:///extdata.fake"); @@ -4425,6 +4426,7 @@ void Test::testCopyPasteFormulasExternalDoc() findLoadedDocShellByName(aExtDocName) != NULL); ScDocument* pExtDoc = xExtDocSh->GetDocument(); + pExtDoc->SetGrammar(formula::FormulaGrammar::GRAM_NATIVE); pExtDoc->InsertTab(0, aExtSh1Name); pExtDoc->InsertTab(1, aExtSh2Name); -- cgit v1.2.3