summaryrefslogtreecommitdiff
path: root/sw/inc/dbmgr.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-07-09 19:49:34 +1000
committerMike Kaganski <mike.kaganski@collabora.com>2018-07-10 18:38:40 +0200
commitedc62adae9a354ca1305e83b10c98a545f58d341 (patch)
tree5bdbcf8901df3e18183fcffc8c4ac6c9c6ae610a /sw/inc/dbmgr.hxx
parentd7cdb7fcc48a580cd5183ba899f73f2ad9bdbec9 (diff)
tdf#118634: Don't save embedded data source to a temporary preview document
Also don't use storeAsURL to store embedded datasource when the document is being saved using storeToURL. Change-Id: I69a7ee5ae066e591be5e45c87bcf57dff370decc Reviewed-on: https://gerrit.libreoffice.org/57178 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/inc/dbmgr.hxx')
-rw-r--r--sw/inc/dbmgr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index fda615a62b17..09bd02196528 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -460,7 +460,7 @@ public:
static void StoreEmbeddedDataSource(const css::uno::Reference<css::frame::XStorable>& xStorable,
const css::uno::Reference<css::embed::XStorage>& xStorage,
const OUString& rStreamRelPath,
- const OUString& rOwnURL);
+ const OUString& rOwnURL, bool bCopyTo = false);
SwDoc* getDoc() const;
/// Stop reacting to removed database registrations.