[Libreoffice-commits] .: Branch 'feature/improvexlsximport' - sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 12 02:05:44 PST 2012
sc/qa/unit/ucalc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit fbb08fed6d36eb0f82fba45bbae08e4a4576081d
Author: Noel Power <noel.power at 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);
More information about the Libreoffice-commits
mailing list