summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/filter/ww8/attributeoutputbase.hxx3
-rw-r--r--sw/source/filter/ww8/docxattributeoutput.hxx1
-rw-r--r--sw/source/filter/ww8/docxexport.hxx1
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.hxx1
-rw-r--r--sw/source/filter/ww8/ww8attributeoutput.hxx1
5 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/filter/ww8/attributeoutputbase.hxx b/sw/source/filter/ww8/attributeoutputbase.hxx
index 96173ded02ba..d31b66bd450e 100644
--- a/sw/source/filter/ww8/attributeoutputbase.hxx
+++ b/sw/source/filter/ww8/attributeoutputbase.hxx
@@ -568,6 +568,9 @@ public:
/// Return the right export class.
virtual MSWordExportBase& GetExport() = 0;
+ /// @overload
+ const MSWordExportBase& GetExport() const { return const_cast< AttributeOutputBase* >( this )->GetExport(); }
+
/// Call the right virtual function according to the type of the item.
void OutputItem( const SfxPoolItem& rHt );
diff --git a/sw/source/filter/ww8/docxattributeoutput.hxx b/sw/source/filter/ww8/docxattributeoutput.hxx
index af2c9b042ea4..8ba137ca943c 100644
--- a/sw/source/filter/ww8/docxattributeoutput.hxx
+++ b/sw/source/filter/ww8/docxattributeoutput.hxx
@@ -587,6 +587,7 @@ public:
/// Return the right export class.
virtual MSWordExportBase& GetExport();
+ using AttributeOutputBase::GetExport;
/// For eg. the output of the styles, we need to switch the serializer to enother one.
void SetSerializer( ::sax_fastparser::FSHelperPtr pSerializer ) { m_pSerializer = pSerializer; }
diff --git a/sw/source/filter/ww8/docxexport.hxx b/sw/source/filter/ww8/docxexport.hxx
index 9e7a0c5e7f65..77015d91d0a6 100644
--- a/sw/source/filter/ww8/docxexport.hxx
+++ b/sw/source/filter/ww8/docxexport.hxx
@@ -88,6 +88,7 @@ class DocxExport : public MSWordExportBase
public:
DocxExportFilter& GetFilter() { return *m_pFilter; };
+ const DocxExportFilter& GetFilter() const { return *m_pFilter; };
/// Access to the attribute output class.
virtual AttributeOutputBase& AttrOutput() const;
diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx
index 13535f7e3234..6eeb14cb9e98 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.hxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.hxx
@@ -543,6 +543,7 @@ public:
/// Return the right export class.
virtual MSWordExportBase& GetExport();
+ using AttributeOutputBase::GetExport;
rtl::OStringBuffer m_aTabStop;
diff --git a/sw/source/filter/ww8/ww8attributeoutput.hxx b/sw/source/filter/ww8/ww8attributeoutput.hxx
index b09748918c7e..b67c2982b2e8 100644
--- a/sw/source/filter/ww8/ww8attributeoutput.hxx
+++ b/sw/source/filter/ww8/ww8attributeoutput.hxx
@@ -428,6 +428,7 @@ public:
/// Return the right export class.
virtual MSWordExportBase& GetExport() { return m_rWW8Export; }
+ using AttributeOutputBase::GetExport;
protected:
/// Output the bold etc. attributes