From 949664deadc04829087af1f6cf4d88b9a2d34114 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Mon, 8 Feb 2016 20:08:31 +0100 Subject: lok: Take over the identity of the document when performing saveAs(). This way we are getting the .uno:ModifiedStatus notification even when performing saveAs(). Change-Id: I370bf483c50161fd4b7f2255ae85fdb76487a9a0 --- desktop/source/lib/init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 2072fb355ac7..15df86a0aa14 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -680,7 +680,7 @@ static int doc_saveAs(LibreOfficeKitDocument* pThis, const char* sUrl, const cha aSaveMediaDescriptor[MediaDescriptor::PROP_FILTEROPTIONS()] <<= aFilterOptions; uno::Reference xStorable(pDocument->mxComponent, uno::UNO_QUERY_THROW); - xStorable->storeToURL(aURL, aSaveMediaDescriptor.getAsConstPropertyValueList()); + xStorable->storeAsURL(aURL, aSaveMediaDescriptor.getAsConstPropertyValueList()); return true; } -- cgit