summaryrefslogtreecommitdiff
path: root/touch
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-16 15:45:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-24 16:49:49 +0200
commitf252b332dd2652abb02851ba0c2521c045787801 (patch)
tree0b582426682ff576908b73e1d57ade8ae105e598 /touch
parent4970e292fb44f482e84822fa97188bcbdfce2ed4 (diff)
fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..
..because we want to use the name for the new merged interface for the Toolkit service. Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
Diffstat (limited to 'touch')
-rw-r--r--touch/source/uno/Document.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/touch/source/uno/Document.cxx b/touch/source/uno/Document.cxx
index 506e4e55f12a..0acb9031d775 100644
--- a/touch/source/uno/Document.cxx
+++ b/touch/source/uno/Document.cxx
@@ -11,7 +11,7 @@
#include <com/sun/star/awt/XBitmap.hpp>
#include <com/sun/star/awt/XDevice.hpp>
-#include <com/sun/star/awt/XToolkit2.hpp>
+#include <com/sun/star/awt/XToolkitExperimental.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/frame/XComponentLoader.hpp>
@@ -40,7 +40,7 @@ private:
OUString m_sURI;
uno::Reference< uno::XComponentContext > m_rContext;
uno::Reference< lang::XComponent > m_xComponent;
- uno::Reference< awt::XToolkit2 > m_xToolkit;
+ uno::Reference< awt::XToolkitExperimental > m_xToolkit;
uno::Reference< frame::XController > m_xController;
// XRenderable.getRendererCount() and .render() need an XController in the
@@ -162,7 +162,7 @@ public:
m_xComponent = componentLoader->loadComponentFromURL( m_sURI, "_blank", 0, loadProps );
- m_xToolkit = uno::Reference< awt::XToolkit2 >( m_rContext->getServiceManager()->createInstanceWithContext( "com.sun.star.awt.Toolkit2", m_rContext ), uno::UNO_QUERY_THROW );
+ m_xToolkit = uno::Reference< awt::XToolkitExperimental >( m_rContext->getServiceManager()->createInstanceWithContext( "com.sun.star.awt.ToolkitExperimental", m_rContext ), uno::UNO_QUERY_THROW );
m_xController = new MyXController();
}