diff options
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index cd257837ef30..a589d1134d90 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -288,6 +288,8 @@ public: // in this case the member will hold this information SignatureState m_nSignatureState; + bool m_bHasEmbeddedObjects = false; + util::DateTime m_aDateTime; explicit SfxMedium_Impl(); @@ -3525,6 +3527,10 @@ OUString GetLogicBase(std::unique_ptr<SfxMedium_Impl> const & pImpl) aLogicBase.clear(); } + if (pImpl->m_bHasEmbeddedObjects) + // Embedded objects would mean a special base, ignore that. + aLogicBase.clear(); + return aLogicBase; } } @@ -3828,6 +3834,11 @@ void SfxMedium::SetCachedSignatureState_Impl( SignatureState nState ) pImpl->m_nSignatureState = nState; } +void SfxMedium::SetHasEmbeddedObjects(bool bHasEmbeddedObjects) +{ + pImpl->m_bHasEmbeddedObjects = bHasEmbeddedObjects; +} + bool SfxMedium::HasStorage_Impl() const { return pImpl->xStorage.is(); |