diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-09 09:42:40 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-06-09 12:08:18 +0200 |
commit | f01f31201f9b26b3071ab25f9a5a3a0311ff7423 (patch) | |
tree | 12692e2976428e98dc380ba368392fefc15c29f7 /sw/inc/dbmgr.hxx | |
parent | 2a0dda3dfb37f0cb69842f7d569c253d82f53713 (diff) |
SwDBManager: extract StoreEmbeddedDataSource() from registration code
Change-Id: Ifc6471f58793cde057f354c4c6a549c073b7d34b
Diffstat (limited to 'sw/inc/dbmgr.hxx')
-rw-r--r-- | sw/inc/dbmgr.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx index 007755d8424b..5bf15427e828 100644 --- a/sw/inc/dbmgr.hxx +++ b/sw/inc/dbmgr.hxx @@ -28,6 +28,8 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/frame/XStorable.hpp> +#include <com/sun/star/embed/XStorage.hpp> #include <boost/ptr_container/ptr_vector.hpp> namespace com{namespace sun{namespace star{ @@ -414,6 +416,11 @@ public: void setEmbeddedName(const OUString& rEmbeddedName, SwDocShell& rDocShell); OUString getEmbeddedName() const; + + 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); }; #endif |