summaryrefslogtreecommitdiff
path: root/test/source
diff options
context:
space:
mode:
Diffstat (limited to 'test/source')
-rw-r--r--test/source/unoapi_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/unoapi_test.cxx b/test/source/unoapi_test.cxx
index 4d06c47a9697..0cc8bf0e33cc 100644
--- a/test/source/unoapi_test.cxx
+++ b/test/source/unoapi_test.cxx
@@ -79,7 +79,7 @@ utl::TempFileNamed UnoApiTest::save(const OUString& rFilter)
aTempFile.EnableKillingFile();
uno::Sequence aArgs{ comphelper::makePropertyValue("FilterName", rFilter) };
css::uno::Reference<frame::XStorable> xStorable(mxComponent, css::uno::UNO_QUERY_THROW);
- xStorable->storeAsURL(aTempFile.GetURL(), aArgs);
+ xStorable->storeToURL(aTempFile.GetURL(), aArgs);
mxComponent->dispose();
mxComponent.clear();