diff options
author | Noel Grandin <noel@peralex.com> | 2013-02-28 07:55:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-03-07 08:23:40 +0200 |
commit | b70c3ec8f7575ed39e180854f8a7de91b9f05d49 (patch) | |
tree | 654e3cacd53000747cb2826cd5b03f8cc797dcb1 /sfx2/inc | |
parent | a3bb733ec6c6af04041c0b2a9849df22c26b3d29 (diff) |
fdo#46808, remove unnecessary XMultiServiceFactory usage
No-one was calling the constructor with anything other than an
empty reference.
Change-Id: If1948ff236f6fdb3579e472d66c5f9c04879bc4e
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/guisaveas.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx index 514508745d79..9d6329049673 100644 --- a/sfx2/inc/guisaveas.hxx +++ b/sfx2/inc/guisaveas.hxx @@ -21,7 +21,6 @@ #define _SFX_GUISAVEAS_HXX_ #include <com/sun/star/uno/Sequence.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/container/XNameAccess.hpp> @@ -47,18 +46,16 @@ class SfxStoringHelper friend class ModelData_Impl; private: - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xFilterCFG; ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > m_xFilterQuery; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > m_xModuleManager; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > GetServiceFactory(); ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > GetFilterConfiguration(); ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerQuery > GetFilterQuery(); ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModuleManager2 > GetModuleManager(); public: - SfxStoringHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); + SfxStoringHelper(); sal_Bool GUIStoreModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel, |