summaryrefslogtreecommitdiff
path: root/desktop/source/app/officeipcthread.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/officeipcthread.hxx')
-rw-r--r--desktop/source/app/officeipcthread.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/desktop/source/app/officeipcthread.hxx b/desktop/source/app/officeipcthread.hxx
index e4f3edaf9673..a233c18e012b 100644
--- a/desktop/source/app/officeipcthread.hxx
+++ b/desktop/source/app/officeipcthread.hxx
@@ -17,11 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
-#define INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
+#pragma once
#include <sal/config.h>
+#include <utility>
#include <vector>
#include <com/sun/star/lang/XServiceInfo.hpp>
@@ -43,8 +43,8 @@ oslSignalAction SalMainPipeExchangeSignal_impl(void* /*pData*/, oslSignalInfo* p
// that was given by command line or by IPC pipe communication.
struct ProcessDocumentsRequest
{
- explicit ProcessDocumentsRequest(std::optional< OUString > const & cwdUrl):
- aCwdUrl(cwdUrl), pcProcessed( nullptr ), bTextCat( false ), bScriptCat( false ) {}
+ explicit ProcessDocumentsRequest(std::optional< OUString > cwdUrl):
+ aCwdUrl(std::move(cwdUrl)), pcProcessed( nullptr ), bTextCat( false ), bScriptCat( false ) {}
std::optional< OUString > aCwdUrl;
OUString aModule;
@@ -154,6 +154,4 @@ class RequestHandlerController : public ::cppu::WeakImplHelper<
}
-#endif // INCLUDED_DESKTOP_SOURCE_APP_OFFICEIPCTHREAD_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */