diff options
author | Noel Power <noel.power@suse.com> | 2012-12-12 10:04:58 +0000 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-12-12 10:04:58 +0000 |
commit | fbb08fed6d36eb0f82fba45bbae08e4a4576081d (patch) | |
tree | 79bd5a77d7a2cc84619b6afa495ece39b15534e5 | |
parent | dd86ce1814588d6bb8fdc4b1e0b165f013e223f5 (diff) |
counteract the addressing default for the test
feature/improvexlsximport
Change-Id: I7fc8936a753928a77b8df62ed205f1202122e47c
-rw-r--r-- | sc/qa/unit/ucalc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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); |