summaryrefslogtreecommitdiff
path: root/cui/source/inc/iconcdlg.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:28:10 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:29 +0100
commit02b4e4cc294bca5256c886374bc9c97420980bdd (patch)
tree0bb1188ed96ee083e9d0cc606ac377496e90f192 /cui/source/inc/iconcdlg.hxx
parentd3d34a289b78a54ee4047e7a042bb9b13a5a4c9a (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I302db31913a60a677b8dc226e48bd8f43b055a1e
Diffstat (limited to 'cui/source/inc/iconcdlg.hxx')
-rw-r--r--cui/source/inc/iconcdlg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index 06d42ce6c2f0..8831eb65f3d0 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -165,7 +165,7 @@ protected :
virtual void PageCreated( sal_uInt16 nId, IconChoicePage& rPage );
SfxItemSet* CreateInputItemSet( sal_uInt16 nId );
- inline SfxItemSet* GetInputSetImpl() { return (SfxItemSet*)pSet; }
+ inline SfxItemSet* GetInputSetImpl() { return const_cast<SfxItemSet*>(pSet); }
inline IconChoicePage* GetTabPage( sal_uInt16 nPageId )
{ return ( GetPageData (nPageId)->pPage?GetPageData (nPageId)->pPage:NULL); }
void RefreshInputSet();