summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:28:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:30 +0100
commit0eea902d180b7e31119be4674ecb928eaff77593 (patch)
treee7993af77c6c9dd7d26c5a9d0e7db9a49e7b7d53 /include/filter
parentac3ebf3bde458a31e4cde5da554189c51cba6bcf (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Idbae574e5d51d497fea7eadb6d80dec8f97d499a
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/svdfppt.hxx2
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;