summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/attributeoutputbase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/attributeoutputbase.hxx')
-rw-r--r--sw/source/filter/ww8/attributeoutputbase.hxx3
1 files changed, 3 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 );