[Libreoffice-commits] core.git: desktop/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jun 13 12:39:49 UTC 2019
desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 11 -----------
1 file changed, 11 deletions(-)
New commits:
commit 5c7fa1518e9ca8921d2d6c2a4b09a8a6fb938804
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jun 13 11:28:49 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Jun 13 14:38:56 2019 +0200
no need for awt::Toolkit::create in UpdateDialog
since...
commit bb3daa7351f0b07e6f4331c19837081e6c3e30b8
Author: Frank Schoenheit [fs] <frank.schoenheit at 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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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));
More information about the Libreoffice-commits
mailing list