diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:28:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:30 +0100 |
commit | 0eea902d180b7e31119be4674ecb928eaff77593 (patch) | |
tree | e7993af77c6c9dd7d26c5a9d0e7db9a49e7b7d53 /include | |
parent | ac3ebf3bde458a31e4cde5da554189c51cba6bcf (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Idbae574e5d51d497fea7eadb6d80dec8f97d499a
Diffstat (limited to 'include')
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 9fefd59c9edb..480f29cfa789 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -588,7 +588,7 @@ protected: SdrPage* MakeBlancPage(bool bMaster) const; bool ReadFontCollection(); bool ForceFontCollection() const - { return pFonts!=NULL?sal_True:((SdrPowerPointImport*)this)->ReadFontCollection(); } + { return pFonts!=NULL?sal_True:const_cast<SdrPowerPointImport*>(this)->ReadFontCollection(); } PptSlidePersistList* GetPageList(PptPageKind ePageKind) const; sal_uInt32 GetAktPageId(); sal_uInt32 GetMasterPageId(sal_uInt16 nPageNum, PptPageKind ePageKind) const; |