diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-20 13:54:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-21 08:23:59 +0200 |
commit | 5ab3015aaec7bea309721fcf04af06c8c1519fcb (patch) | |
tree | 9740f1aed062c472d43d8c6cc3a17ad4081848fb /xmlscript | |
parent | be50ad28f5bbdaeff527f646481ce263843c2401 (diff) |
fdo#46808, Clean up old usages of ExtToolkit
This service no longer exists in LO, and no-one seems to know what
this service was, so convert it to use the awt::Toolkit service,
since that service returns the interface the code expects.
Change-Id: I761effbd49a9a3a15ec9c8716c72d4220a3e987e
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/test/imexp.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 9466af05b822..c75cb8104ec7 100644 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx @@ -34,6 +34,7 @@ #include <vcl/svapp.hxx> +#include <com/sun/star/awt/Toolkit.hpp> #include <com/sun/star/awt/UnoControlDialog.hpp> #include <com/sun/star/awt/UnoControlDialogModel.hpp> #include <com/sun/star/awt/XToolkit.hpp> @@ -172,7 +173,7 @@ void MyApp::Main() { ::comphelper::setProcessServiceFactory( xMSF ); - Reference< awt::XToolkit> xToolkit( xMSF->createInstance( "com.sun.star.awt.ExtToolkit" ), UNO_QUERY ); + Reference< awt::XToolkit> xToolkit = awt::Toolkit::create( xContext ); // import dialogs OString aParam1( OUStringToOString( |