sc/qa/unit/ucalc.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit fbb08fed6d36eb0f82fba45bbae08e4a4576081d Author: Noel Power <noel.po...@suse.com> Date: Wed Dec 12 10:04:58 2012 +0000
counteract the addressing default for the test Change-Id: I7fc8936a753928a77b8df62ed205f1202122e47c diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index cab47a6..e2cee79 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits