summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galbrws1.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-16 20:39:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-17 14:46:26 +0100
commite8d848543ee6b7e4696381ececc476d3522b3614 (patch)
tree3e98e43b658dc3b933e20f5fa5a973bf07cc939c /svx/source/gallery2/galbrws1.cxx
parent9facb8271d9e87b33e7280f400d19bea3c326eea (diff)
coverity#1327445 Unchecked dynamic_cast
and coverity#1327444 Unchecked dynamic_cast Change-Id: I459d588db4a3dd6591b81babb3586fe97ab96c63
Diffstat (limited to 'svx/source/gallery2/galbrws1.cxx')
-rw-r--r--svx/source/gallery2/galbrws1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index b5245fb1129e..f83c6f32bb43 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -284,7 +284,7 @@ void GalleryBrowser1::ImplGalleryThemeProperties( const OUString & rThemeName, b
}
}
-void GalleryBrowser1::ImplEndGalleryThemeProperties( VclAbstractDialog2* pDialog, bool bCreateNew )
+void GalleryBrowser1::ImplEndGalleryThemeProperties(Dialog* pDialog, bool bCreateNew)
{
long nRet = pDialog->GetResult();
@@ -329,12 +329,12 @@ void GalleryBrowser1::ImplEndGalleryThemeProperties( VclAbstractDialog2* pDialog
IMPL_LINK_TYPED( GalleryBrowser1, EndNewThemePropertiesDlgHdl, Dialog&, rDialog, void )
{
- ImplEndGalleryThemeProperties( dynamic_cast<VclAbstractDialog2*>(&rDialog), true );
+ ImplEndGalleryThemeProperties(&rDialog, true);
}
IMPL_LINK_TYPED( GalleryBrowser1, EndThemePropertiesDlgHdl, Dialog&, rDialog, void )
{
- ImplEndGalleryThemeProperties( dynamic_cast<VclAbstractDialog2*>(&rDialog), false );
+ ImplEndGalleryThemeProperties(&rDialog, false);
}
IMPL_LINK_TYPED( GalleryBrowser1, DestroyThemePropertiesDlgHdl, void*, p, void )