diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-09 14:45:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-09 15:17:08 +0000 |
commit | d9b589379cbc41b920dfe3f10e6d2c53431df676 (patch) | |
tree | 4ea238a2bb63081510d99457055df20a50b9e3f9 /include/comphelper/embeddedobjectcontainer.hxx | |
parent | f6f73d2e40712dadf69cd73a34d006988669978c (diff) |
crashtesting: fdo85994-1.doc assert on reexport to doc
try setting DefaultParentBaseURL based on the parent BaseURL
for objects created this way
Change-Id: I1a660ff6e4874321e0308d556c7ce0e10a2605fe
Diffstat (limited to 'include/comphelper/embeddedobjectcontainer.hxx')
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index b7cae389749b..ddbc6d095033 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -98,11 +98,13 @@ public: // create an object from a ClassId css::uno::Reference < css::embed::XEmbeddedObject > - CreateEmbeddedObject( const css::uno::Sequence < sal_Int8 >&, OUString& ); + CreateEmbeddedObject( const css::uno::Sequence < sal_Int8 >&, OUString&, + OUString const* pBaseURL = nullptr ); css::uno::Reference < css::embed::XEmbeddedObject > CreateEmbeddedObject( const css::uno::Sequence < sal_Int8 >&, - const css::uno::Sequence < css::beans::PropertyValue >&, OUString& ); + const css::uno::Sequence < css::beans::PropertyValue >&, OUString&, + OUString const* pBaseURL = nullptr ); // insert an embedded object into the container - objects persistent representation will be added to the storage bool InsertEmbeddedObject( const css::uno::Reference < css::embed::XEmbeddedObject >&, OUString& ); |