diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-29 10:35:38 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-29 11:46:10 +0100 |
commit | af1c0ef8d397b652a4b58b29fbd7cab1a0ab5840 (patch) | |
tree | b52c86932c30cee2f6a682e29c2e27cb494e94a3 /framework/source/uielement/popuptoolbarcontroller.cxx | |
parent | 4613f593a83811e81520ae2f40f8c33870bdf2f6 (diff) |
Introduce com.sun.star.frame.ControllerFactory singletons:
com.sun.star.frame.thePopupMenuControllerFactory
com.sun.star.frame.theStatusbarControllerFactory
com.sun.star.frame.theToolbarControllerFactory
To replace their single-instance service variants.
Change-Id: I00586d0d61e63f9482cb659071e88aa9cf02d5b5
Diffstat (limited to 'framework/source/uielement/popuptoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/popuptoolbarcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index c94edc5fed6b..6f513fde1dd1 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -32,7 +32,7 @@ #include <com/sun/star/awt/PopupMenuDirection.hpp> #include <com/sun/star/awt/XPopupMenu.hpp> -#include <com/sun/star/frame/PopupMenuControllerFactory.hpp> +#include <com/sun/star/frame/thePopupMenuControllerFactory.hpp> #include <com/sun/star/frame/XDispatchProvider.hpp> #include <com/sun/star/frame/XPopupMenuController.hpp> #include <com/sun/star/frame/XUIControllerFactory.hpp> @@ -129,7 +129,7 @@ throw ( css::uno::Exception, css::uno::RuntimeException ) try { m_xPopupMenuFactory.set( - css::frame::PopupMenuControllerFactory::create( m_xContext ) ); + css::frame::thePopupMenuControllerFactory::get( m_xContext ) ); m_bHasController = m_xPopupMenuFactory->hasController( m_aPopupCommand, getModuleName() ); } |