diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-04-26 15:23:21 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-04-26 15:27:15 +0200 |
commit | 127caae6f7ec97ba1387e2e737f499e149d134ab (patch) | |
tree | 426b62ba0781800d3d610cc0539dcc8dccacaf94 /sw/qa/extras/odfexport/odfexport.cxx | |
parent | 8bcbc1d51dfaa40961c12324423fbf263be78538 (diff) |
SwModelTestBase: add save(), next to load() and reload()
Change-Id: I15405dd6be64da689257aed50ba847f3741df3a1
Diffstat (limited to 'sw/qa/extras/odfexport/odfexport.cxx')
-rw-r--r-- | sw/qa/extras/odfexport/odfexport.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 5c4c4082fc9f..436759a2813f 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -152,14 +152,8 @@ void Test::testFdo58949() * and replacement image) OLE objects using UNO, so we'll check the zip file directly. */ - // Create the zip file. utl::TempFile aTempFile; - aTempFile.EnableKillingFile(); - uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY); - uno::Sequence<beans::PropertyValue> aFilterArgs(1); - aFilterArgs[0].Name = "FilterName"; - aFilterArgs[0].Value <<= OUString("writer8"); - xStorable->storeToURL(aTempFile.GetURL(), aFilterArgs); + save("writer8", aTempFile); uno::Sequence<uno::Any> aArgs(1); aArgs[0] <<= OUString(aTempFile.GetURL()); |