diff options
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 6b0d0c3e9321..57c8cf584580 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -791,7 +791,7 @@ public: void DelCharFormat(size_t nFormat, bool bBroadcast = false); void DelCharFormat(SwCharFormat* pFormat, bool bBroadcast = false); SwCharFormat* FindCharFormatByName( const OUString& rName ) const - { return static_cast<SwCharFormat*>(FindFormatByName( (SwFormatsBase&)*mpCharFormatTable, rName )); } + { return static_cast<SwCharFormat*>(FindFormatByName( *mpCharFormatTable, rName )); } // Formatcollections (styles) // TXT @@ -819,7 +819,7 @@ public: const bool bReset = true, const bool bResetListAttrs = false); SwTextFormatColl* FindTextFormatCollByName( const OUString& rName ) const - { return static_cast<SwTextFormatColl*>(FindFormatByName( (SwFormatsBase&)*mpTextFormatCollTable, rName )); } + { return static_cast<SwTextFormatColl*>(FindFormatByName( *mpTextFormatCollTable, rName )); } void ChkCondColls(); |