summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8attributeoutput.hxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-03-02 15:33:49 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-03-02 17:56:59 +0100
commitbbed809f74494a75f5708af7261fb4d69cc9ccdd (patch)
treee627c8d24b66aeceaa3ec9bfd16f3fa88b11d5c4 /sw/source/filter/ww8/ww8attributeoutput.hxx
parentb59db0e69e83d694f6cb0bade4f567fe0da536a5 (diff)
covariant return type and const overload for GetExport()
I don't see why one should do this manually when the compiler knows it.
Diffstat (limited to 'sw/source/filter/ww8/ww8attributeoutput.hxx')
-rw-r--r--sw/source/filter/ww8/ww8attributeoutput.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8attributeoutput.hxx b/sw/source/filter/ww8/ww8attributeoutput.hxx
index b67c2982b2e8..cfced61d6371 100644
--- a/sw/source/filter/ww8/ww8attributeoutput.hxx
+++ b/sw/source/filter/ww8/ww8attributeoutput.hxx
@@ -427,8 +427,8 @@ public:
virtual ~WW8AttributeOutput() {}
/// Return the right export class.
- virtual MSWordExportBase& GetExport() { return m_rWW8Export; }
- using AttributeOutputBase::GetExport;
+ virtual WW8Export& GetExport() { return m_rWW8Export; }
+ const WW8Export& GetExport() const { return m_rWW8Export; }
protected:
/// Output the bold etc. attributes