diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:31:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-26 15:33:38 +0100 |
commit | 5429049e3b8fd12e84aca83be7ca19e52920f672 (patch) | |
tree | 3b473be72f20a82357bd3f8ee7aa558b6b517e99 /svx/source/gallery2/gallery1.cxx | |
parent | 0d05f417c3a7dcde89f5e15b29f39ce2db65b543 (diff) |
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: Ic90647cc4da716b54b00520b683cee027a664c22
Diffstat (limited to 'svx/source/gallery2/gallery1.cxx')
-rw-r--r-- | svx/source/gallery2/gallery1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx index 399f145a108c..32b14eb3e2d9 100644 --- a/svx/source/gallery2/gallery1.cxx +++ b/svx/source/gallery2/gallery1.cxx @@ -626,7 +626,7 @@ GalleryTheme* Gallery::ImplGetCachedTheme(const GalleryThemeEntry* pThemeEntry) { try { - pTheme = new GalleryTheme( this, (GalleryThemeEntry*) pThemeEntry ); + pTheme = new GalleryTheme( this, const_cast<GalleryThemeEntry*>(pThemeEntry) ); ReadGalleryTheme( *pIStm, *pTheme ); if( pIStm->GetError() ) |