diff options
Diffstat (limited to 'svx/source/gallery2/galbrws2.cxx')
-rw-r--r-- | svx/source/gallery2/galbrws2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx index 88e95b540f93..9109b81ad4c7 100644 --- a/svx/source/gallery2/galbrws2.cxx +++ b/svx/source/gallery2/galbrws2.cxx @@ -1139,9 +1139,9 @@ void GalleryBrowser2::Execute(const OString &rIdent) switch( GetMode() ) { - 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; + case GALLERYBROWSERMODE_ICON: pWindow = mpIconView; break; + case GALLERYBROWSERMODE_LIST: pWindow = mpListView; break; + case GALLERYBROWSERMODE_PREVIEW: pWindow = mpPreview; break; default: pWindow = nullptr; |