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 14:38:56 +0200 |
commit | 5c7fa1518e9ca8921d2d6c2a4b09a8a6fb938804 (patch) | |
tree | 93a6b1ff2c45a2c9f1f2d7a6afab6baaf715d6ed /desktop | |
parent | b6086804af2b112f529952852ac55a2ffe7bd931 (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/73954
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop')
-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 f0e4c5115714..c8c6d5adcc73 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)); |