summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-13 10:19:25 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-13 10:27:08 +0200
commitac9f7c8d1abffe882093f93ea70dc5e31d28a7a2 (patch)
tree42898b78462e069e1cb4f16d902e9758de502a8b /sw
parentc00690d2e579607bb0d8a3582580bd875225bffb (diff)
DocxAttributeOutput: ClearGraphicCache() -> ClearRelIdCache()
Because rel ids are used not only for graphics. Change-Id: I9d0fd7196a1b8e0494d850197cb50fc8098eff82
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.cxx2
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.hxx2
-rw-r--r--sw/source/filter/ww8/docxexport.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index c84d2e65e7d4..2d3074997779 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -3567,7 +3567,7 @@ void DocxAttributeOutput::WriteSrcRect(const SdrObject* pSdrObj )
}
}
-void DocxAttributeOutput::ClearGraphicCache()
+void DocxAttributeOutput::ClearRelIdCache()
{
m_aRelIdCache.clear();
}
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index 81305ba155c5..c5dac2d1a0c0 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -358,7 +358,7 @@ public:
void WriteBookmarks_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:
/// Initialize the structures where we are going to collect some of the paragraph properties.
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index f8500e4b6573..28db5ecef9ac 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -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.
//So clearing the alternate content graphic cache.
- m_pAttrOutput->ClearGraphicCache();
+ m_pAttrOutput->ClearRelIdCache();
// switch the serializer back
m_pAttrOutput->SetSerializer( m_pDocumentFS );