[Libreoffice-commits] .: sc/qa
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 4 15:30:27 PST 2012
sc/qa/unit/subsequent_export-test.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 346905d44d9fd6744074fc7faf6368de54e5e31f
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Dec 4 18:27:56 2012 -0500
Disable user interaction here too, to prevent dialog launches.
Change-Id: I6b193ddf7e03dd6706326e9fe8a523423435812f
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx
index d67224f..8d4eb82 100644
--- a/sc/qa/unit/subsequent_export-test.cxx
+++ b/sc/qa/unit/subsequent_export-test.cxx
@@ -153,7 +153,9 @@ ScDocShellRef ScExportTest::saveAndReloadPassword(ScDocShell* pShell, const rtl:
pFilter->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
ScDocShellRef xDocShRef = new ScDocShell;
+ xDocShRef->GetDocument()->EnableUserInteraction(false);
SfxMedium* pSrcMed = new SfxMedium(aTempFile.GetURL(), STREAM_STD_READ);
+ pSrcMed->UseInteractionHandler(false);
SfxItemSet* pSet = pSrcMed->GetItemSet();
pSet->Put(SfxStringItem(SID_PASSWORD, rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test"))));
pSrcMed->SetFilter(pFilter);
More information about the Libreoffice-commits
mailing list