Kaydet (Commit) ac9f7c8d authored tarafından Miklos Vajna's avatar Miklos Vajna

DocxAttributeOutput: ClearGraphicCache() -> ClearRelIdCache()

Because rel ids are used not only for graphics.

Change-Id: I9d0fd7196a1b8e0494d850197cb50fc8098eff82
üst c00690d2
...@@ -3567,7 +3567,7 @@ void DocxAttributeOutput::WriteSrcRect(const SdrObject* pSdrObj ) ...@@ -3567,7 +3567,7 @@ void DocxAttributeOutput::WriteSrcRect(const SdrObject* pSdrObj )
} }
} }
void DocxAttributeOutput::ClearGraphicCache() void DocxAttributeOutput::ClearRelIdCache()
{ {
m_aRelIdCache.clear(); m_aRelIdCache.clear();
} }
......
...@@ -358,7 +358,7 @@ public: ...@@ -358,7 +358,7 @@ public:
void WriteBookmarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds ); void WriteBookmarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds );
void WriteAnnotationMarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds ); void WriteAnnotationMarks_Impl( std::vector< OUString >& rStarts, std::vector< OUString >& rEnds );
void ClearGraphicCache(); void ClearRelIdCache();
private: private:
/// Initialize the structures where we are going to collect some of the paragraph properties. /// Initialize the structures where we are going to collect some of the paragraph properties.
......
...@@ -713,7 +713,7 @@ void DocxExport::WriteHeaderFooter( const SwFmt& rFmt, bool bHeader, const char* ...@@ -713,7 +713,7 @@ void DocxExport::WriteHeaderFooter( const SwFmt& rFmt, bool bHeader, const char*
//When the stream changes the cache which is maintained for the graphics in case of alternate content is not cleared. //When the stream changes the cache which is maintained for the graphics in case of alternate content is not cleared.
//So clearing the alternate content graphic cache. //So clearing the alternate content graphic cache.
m_pAttrOutput->ClearGraphicCache(); m_pAttrOutput->ClearRelIdCache();
// switch the serializer back // switch the serializer back
m_pAttrOutput->SetSerializer( m_pDocumentFS ); m_pAttrOutput->SetSerializer( m_pDocumentFS );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment