summaryrefslogtreecommitdiff
path: root/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx')
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
index e6b97f041db3..a276d396eda2 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX
-#define INCLUDED_FILTER_SOURCE_XMLFILTERADAPTOR_XMLFILTERADAPTOR_HXX
+#pragma once
#include <com/sun/star/document/XFilter.hpp>
@@ -28,6 +27,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
+#include <utility>
enum FilterType
@@ -65,8 +65,8 @@ class XmlFilterAdaptor final : public cppu::WeakImplHelper
public:
- explicit XmlFilterAdaptor( const css::uno::Reference< css::uno::XComponentContext > & rxContext)
- : mxContext(rxContext)
+ explicit XmlFilterAdaptor( css::uno::Reference< css::uno::XComponentContext > xContext)
+ : mxContext(std::move(xContext))
, meType(FILTER_IMPORT)
{
}
@@ -103,6 +103,4 @@ public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */