summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorÁdám Csaba Király <kiraly.adam.csaba@gmail.com>2013-04-03 21:05:12 +0200
committerThorsten Behrens <tbehrens@suse.com>2013-05-02 09:40:10 +0000
commit7061e8403a3afddae253ad0a016e5613616030bb (patch)
tree7bceb8fe3f42eaab2b600e185d0bbe990a404ff3 /oox
parentcf685e9299ab9d196b7f90803f03d4fea8d16091 (diff)
fdo#60780, refactor Save a Copy and fix
Refactor Save a Copy, basing it on Export functionality. SID_SAVEACOPY takes its parameters, and sends a SID_EXPORTDOC request with them, using SID_SAVEACOPYITEM to differentiate Save a Copy from regular Export. Fix storing docx to url, by preventing finalizeFilter method, in filterbase.cxx, from writing back to the original file's MediaDescriptor. Change-Id: I876dbe17e43b26a43f29e797fdb157e31889ee1e Reviewed-on: https://gerrit.libreoffice.org/3355 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/core/filterbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/core/filterbase.cxx b/oox/source/core/filterbase.cxx
index 4d31f0547787..13551fe495e5 100644
--- a/oox/source/core/filterbase.cxx
+++ b/oox/source/core/filterbase.cxx
@@ -507,7 +507,7 @@ sal_Bool SAL_CALL FilterBase::filter( const Sequence< PropertyValue >& rMediaDes
}
break;
}
- mxImpl->finalizeFilter();
+ mxImpl->mxModel->unlockControllers();
}
return bRet;
}