diff options
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() ) |