diff options
Diffstat (limited to 'svtools/source/uno/genericunodialog.cxx')
-rw-r--r-- | svtools/source/uno/genericunodialog.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index ff61474ca994..d4f0f97f42d1 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -30,7 +30,6 @@ #include <osl/diagnose.h> #include <tools/diagnose_ex.h> #include <osl/mutex.hxx> -#include <vcl/dialog.hxx> #include <vcl/svapp.hxx> using namespace css::uno; @@ -164,16 +163,10 @@ bool OGenericUnoDialog::impl_ensureDialog_lck() // get the parameters for the dialog from the current settings - // the parent window - VclPtr<vcl::Window> pParent; - VCLXWindow* pImplementation = VCLXWindow::GetImplementation(m_xParent); - if (pImplementation) - pParent = pImplementation->GetWindow(); - // the title OUString sTitle = m_sTitle; - OGenericUnoDialog::Dialog aDialog(createDialog(pParent)); + OGenericUnoDialog::Dialog aDialog(createDialog(m_xParent)); OSL_ENSURE(aDialog, "OGenericUnoDialog::impl_ensureDialog_lck: createDialog returned nonsense!"); if (!aDialog) return false; |