From 01baeab99890e5650b3dabc15f8d900490a5a133 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Thu, 12 Nov 2020 13:03:16 +0100 Subject: tdf#123936 Formatting files in module include with clang-format Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681 Reviewed-by: Christian Lohmaier Tested-by: Jenkins --- include/framework/interaction.hxx | 43 +++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 17 deletions(-) (limited to 'include/framework') diff --git a/include/framework/interaction.hxx b/include/framework/interaction.hxx index 4e3df9e8afba..d02c5cd99067 100644 --- a/include/framework/interaction.hxx +++ b/include/framework/interaction.hxx @@ -26,12 +26,21 @@ #include #include -namespace com::sun::star::task { class XInteractionContinuation; } -namespace com::sun::star::task { class XInteractionRequest; } -namespace com::sun::star::uno { template class Sequence; } - -namespace framework{ +namespace com::sun::star::task +{ +class XInteractionContinuation; +} +namespace com::sun::star::task +{ +class XInteractionRequest; +} +namespace com::sun::star::uno +{ +template class Sequence; +} +namespace framework +{ /*-************************************************************************************************************ @short special request for interaction to ask user for right filter @descr These helper can be used to ask user for right filter, if filter detection failed. @@ -51,22 +60,22 @@ namespace framework{ @devstatus ready to use @threadsafe no (used on once position only!) -*//*-*************************************************************************************************************/ +*/ /*-*************************************************************************************************************/ class RequestFilterSelect_Impl; class UNLESS_MERGELIBS(FWK_DLLPUBLIC) RequestFilterSelect { rtl::Reference mxImpl; public: - RequestFilterSelect( const OUString& sURL ); + RequestFilterSelect(const OUString& sURL); ~RequestFilterSelect(); - RequestFilterSelect& operator=(RequestFilterSelect const &) = delete; // MSVC2019 workaround - RequestFilterSelect(RequestFilterSelect const &) = delete; // MSVC2019 workaround + RequestFilterSelect& operator=(RequestFilterSelect const&) = delete; // MSVC2019 workaround + RequestFilterSelect(RequestFilterSelect const&) = delete; // MSVC2019 workaround - bool isAbort () const; + bool isAbort() const; OUString getFilter() const; - css::uno::Reference < css::task::XInteractionRequest > GetRequest(); + css::uno::Reference GetRequest(); }; /*-************************************************************************************************************ @@ -79,18 +88,18 @@ public: @devstatus ready to use @threadsafe no (used on once position only!) -*//*-*************************************************************************************************************/ +*/ /*-*************************************************************************************************************/ class FWK_DLLPUBLIC InteractionRequest { public: - static css::uno::Reference < css::task::XInteractionRequest > CreateRequest( + static css::uno::Reference CreateRequest( const css::uno::Any& aRequest, - const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > >& lContinuations ); + const css::uno::Sequence>& + lContinuations); }; +} // namespace framework -} // namespace framework - -#endif // #define INCLUDED_FRAMEWORK_INTERACTION_HXX +#endif // #define INCLUDED_FRAMEWORK_INTERACTION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit