diff options
Diffstat (limited to 'framework/inc/dispatch/systemexec.hxx')
-rw-r--r-- | framework/inc/dispatch/systemexec.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/inc/dispatch/systemexec.hxx b/framework/inc/dispatch/systemexec.hxx index 3035276c7cee..8badbc1ca20c 100644 --- a/framework/inc/dispatch/systemexec.hxx +++ b/framework/inc/dispatch/systemexec.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX -#define INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX +#pragma once #include <com/sun/star/frame/XNotifyingDispatch.hpp> #include <com/sun/star/frame/XDispatch.hpp> @@ -60,7 +59,7 @@ class SystemExec final : public ::cppu::WeakImplHelper< public: // ctor/dtor - SystemExec( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); + SystemExec( css::uno::Reference< css::uno::XComponentContext > xContext ); virtual ~SystemExec( ) override; /* interface XServiceInfo */ @@ -90,13 +89,11 @@ class SystemExec final : public ::cppu::WeakImplHelper< /* internal */ private: - void impl_notifyResultListener(const css::uno::Reference< css::frame::XDispatchResultListener >& xListener, + static void impl_notifyResultListener(const css::uno::Reference< css::frame::XDispatchResultListener >& xListener, const sal_Int16 nState ); }; // class SystemExec } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_DISPATCH_SYSTEMEXEC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |