summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-20 09:29:30 +0200
committerNoel Grandin <noel@peralex.com>2013-04-08 13:53:03 +0200
commit86fdce60115014ddfae05993ef43686c9dbd6004 (patch)
treed50705d5f93fec079e4d676cd2a5a9c50783c6f3 /svx/inc
parent34da7fbcc643ad209290c6da456dbfb17aeb9ac0 (diff)
fdo#46808, Convert svt::ToolboxController to XComponentContext
.. and all of it's friends Change-Id: I408d9308d1d1a4f8ed0055ac5f4042d729c44d1e
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/tbunocontroller.hxx3
-rw-r--r--svx/inc/tbunosearchcontrollers.hxx8
2 files changed, 6 insertions, 5 deletions
diff --git a/svx/inc/tbunocontroller.hxx b/svx/inc/tbunocontroller.hxx
index 58f17418fd53..71bfaa7f5f08 100644
--- a/svx/inc/tbunocontroller.hxx
+++ b/svx/inc/tbunocontroller.hxx
@@ -23,6 +23,7 @@
#include <svtools/toolboxcontroller.hxx>
#include <com/sun/star/awt/FontDescriptor.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
namespace svx
{
@@ -33,7 +34,7 @@ class FontHeightToolBoxControl : public svt::ToolboxController,
{
public:
FontHeightToolBoxControl(
- const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rServiceManager );
+ const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rServiceManager );
~FontHeightToolBoxControl();
// XInterface
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx
index 720d6232ed95..b15c2c5d0804 100644
--- a/svx/inc/tbunosearchcontrollers.hxx
+++ b/svx/inc/tbunosearchcontrollers.hxx
@@ -47,7 +47,7 @@ class FindTextFieldControl : public ComboBox
public:
FindTextFieldControl( Window* pParent, WinBits nStyle,
css::uno::Reference< css::frame::XFrame >& xFrame,
- css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager );
+ const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager );
virtual ~FindTextFieldControl();
virtual long PreNotify( NotifyEvent& rNEvt );
@@ -91,7 +91,7 @@ class FindTextToolbarController : public svt::ToolboxController,
{
public:
- FindTextToolbarController( const css::uno::Reference< css::lang::XMultiServiceFactory > & rServiceManager );
+ FindTextToolbarController( const css::uno::Reference< css::uno::XComponentContext > & rxContext );
~FindTextToolbarController();
// XInterface
@@ -139,7 +139,7 @@ class ExitSearchToolboxController : public svt::ToolboxController,
public css::lang::XServiceInfo
{
public:
- ExitSearchToolboxController( const css::uno::Reference< css::lang::XMultiServiceFactory >& rServiceManager );
+ ExitSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
~ExitSearchToolboxController();
// XInterface
@@ -178,7 +178,7 @@ class UpDownSearchToolboxController : public svt::ToolboxController,
public:
enum Type { UP, DOWN };
- UpDownSearchToolboxController( const css::uno::Reference< css::lang::XMultiServiceFactory >& rServiceManager, Type eType );
+ UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, Type eType );
~UpDownSearchToolboxController();
// XInterface