diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-03-03 13:11:32 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-03-03 14:37:44 +0100 |
commit | eb4dc87ee70b92b58ef379065a1165f8887609be (patch) | |
tree | fe0c75aa2cfccdd06617cb526e6556ce13e0f605 | |
parent | f218e8401c4c1d07a967dbbcf112b13fb67bf72c (diff) |
move all GetId(whatever type for font) to the base class
-rw-r--r-- | sw/source/filter/ww8/wrtww8.hxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx index de8c69237d74..0676f51e0610 100644 --- a/sw/source/filter/ww8/wrtww8.hxx +++ b/sw/source/filter/ww8/wrtww8.hxx @@ -584,6 +584,18 @@ public: USHORT GetId( const SwTOXType& rTOXType ); + /// Return the numeric id of the font (and add it to the font list if needed) + USHORT GetId( const SvxFontItem& rFont) + { + return maFontHelper.GetId(rFont); + } + /// @overload + USHORT GetId( const wwFont& rFont) + { + return maFontHelper.GetId(rFont); + } + + const SfxPoolItem& GetItem( USHORT nWhich ) const; /// Find the reference. @@ -974,12 +986,6 @@ public: WW8OleMaps& GetOLEMap() { return *pOleMap; } void ExportDopTypography(WW8DopTypography &rTypo); - using MSWordExportBase::GetId; - USHORT GetId( const SvxFontItem& rFont) - { - return maFontHelper.GetId(rFont); - } - USHORT AddRedlineAuthor( USHORT nId ); void WriteFtnBegin( const SwFmtFtn& rFtn, WW8Bytes* pO = 0 ); |