diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-02-08 20:08:31 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-02-08 20:10:17 +0100 |
commit | 949664deadc04829087af1f6cf4d88b9a2d34114 (patch) | |
tree | 1f3b3afdceed7f5147bc2217dd00f12cc6bbeed9 /desktop | |
parent | 6d5bbadfb69c1c6b2d3e82e79c97350af2135487 (diff) |
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
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<frame::XStorable> xStorable(pDocument->mxComponent, uno::UNO_QUERY_THROW); - xStorable->storeToURL(aURL, aSaveMediaDescriptor.getAsConstPropertyValueList()); + xStorable->storeAsURL(aURL, aSaveMediaDescriptor.getAsConstPropertyValueList()); return true; } |