summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r--svx/source/gallery2/galbrws2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index e0328b4f7d7c..90715b7bcfee 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -1207,9 +1207,9 @@ void GalleryBrowser2::Execute( sal_uInt16 nId )
switch( GetMode() )
{
- case( GALLERYBROWSERMODE_ICON ): pWindow = (vcl::Window*) mpIconView; break;
- case( GALLERYBROWSERMODE_LIST ): pWindow = (vcl::Window*) mpListView; break;
- case( GALLERYBROWSERMODE_PREVIEW ): pWindow = (vcl::Window*) mpPreview; break;
+ case( GALLERYBROWSERMODE_ICON ): pWindow = static_cast<vcl::Window*>(mpIconView); break;
+ case( GALLERYBROWSERMODE_LIST ): pWindow = static_cast<vcl::Window*>(mpListView); break;
+ case( GALLERYBROWSERMODE_PREVIEW ): pWindow = static_cast<vcl::Window*>(mpPreview); break;
default:
pWindow = NULL;