summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/sfxdlg.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-01-19 17:27:28 +0100
committerMathias Bauer <mba@openoffice.org>2010-01-19 17:27:28 +0100
commit3e01ab9b13aa6bf670d461aaa50d03da8f9414dc (patch)
tree4c1cdc48c10ed5dc1697be565fe3a9ec6fe54fdf /sfx2/source/dialog/sfxdlg.cxx
parent3d7a9891b2309c30da4a12b4cf5f5fd222195f2b (diff)
#i107450#: some problems with the dialog factory
Diffstat (limited to 'sfx2/source/dialog/sfxdlg.cxx')
-rw-r--r--sfx2/source/dialog/sfxdlg.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/dialog/sfxdlg.cxx b/sfx2/source/dialog/sfxdlg.cxx
index 0e5f91ccea34..2f809d7d0744 100644
--- a/sfx2/source/dialog/sfxdlg.cxx
+++ b/sfx2/source/dialog/sfxdlg.cxx
@@ -39,5 +39,9 @@
SfxAbstractDialogFactory* SfxAbstractDialogFactory::Create()
{
- return (SfxAbstractDialogFactory*) VclAbstractDialogFactory::Create();
+ return dynamic_cast <SfxAbstractDialogFactory*>( VclAbstractDialogFactory::Create() );
}
+
+SfxAbstractDialogFactory::~SfxAbstractDialogFactory()
+{
+} \ No newline at end of file