diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 11:28:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-06-13 22:16:47 +0200 |
commit | f3dc36beb9fb8b6b9875fd4567fad8a2d52fbe76 (patch) | |
tree | cd5efa9ebc07a2a95ad6ffc2223beb3373899677 /desktop/source | |
parent | 68034f4f4f4187ba66adf8f5ea8064643671f324 (diff) |
no need for awt::Toolkit::create in UpdateDialog
since...
commit bb3daa7351f0b07e6f4331c19837081e6c3e30b8
Author: Frank Schoenheit [fs] <frank.schoenheit@sun.com>
Date: Thu Oct 7 13:54:14 2010 +0200
dba34b: #i112779# no need to use a UNO control/peer for the throbber - it exists as VCL control now
Change-Id: I561642d78d76ab970ee12b6b2b2fbdd0be2850e5
Reviewed-on: https://gerrit.libreoffice.org/73955
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index cfcf3e300106..def6a263fdb3 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -32,7 +32,6 @@ #include <com/sun/star/awt/WindowAttribute.hpp> #include <com/sun/star/awt/WindowClass.hpp> #include <com/sun/star/awt/WindowDescriptor.hpp> -#include <com/sun/star/awt/Toolkit.hpp> #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XWindowPeer.hpp> #include <com/sun/star/beans/NamedValue.hpp> @@ -504,16 +503,6 @@ UpdateDialog::UpdateDialog( m_xExtensionManager = deployment::ExtensionManager::get( context ); - uno::Reference< awt::XToolkit2 > toolkit; - try { - toolkit = awt::Toolkit::create(m_context); - } catch (const uno::RuntimeException &) { - throw; - } catch (const uno::Exception & e) { - css::uno::Any anyEx = cppu::getCaughtException(); - throw css::lang::WrappedTargetRuntimeException( e.Message, - e.Context, anyEx ); - } m_xUpdates->connect_changed(LINK(this, UpdateDialog, selectionHandler)); m_xUpdates->connect_toggled(LINK(this, UpdateDialog, entryToggled)); m_xAll->connect_toggled(LINK(this, UpdateDialog, allHandler)); |