summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbavalidation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbavalidation.hxx')
-rw-r--r--sc/source/ui/vba/vbavalidation.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbavalidation.hxx b/sc/source/ui/vba/vbavalidation.hxx
index ab16c053337a..6395d6728ad7 100644
--- a/sc/source/ui/vba/vbavalidation.hxx
+++ b/sc/source/ui/vba/vbavalidation.hxx
@@ -19,6 +19,7 @@
#pragma once
#include <ooo/vba/excel/XValidation.hpp>
+#include <utility>
#include <vbahelper/vbahelperinterface.hxx>
namespace com::sun::star::table { class XCellRange; }
@@ -31,7 +32,7 @@ class ScVbaValidation : public ValidationImpl_BASE
css::uno::Reference< css::table::XCellRange > m_xRange;
public:
- ScVbaValidation( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::table::XCellRange >& xRange ) : ValidationImpl_BASE( xParent, xContext ), m_xRange( xRange) {}
+ ScVbaValidation( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::table::XCellRange > xRange ) : ValidationImpl_BASE( xParent, xContext ), m_xRange(std::move( xRange)) {}
// Attributes
virtual sal_Bool SAL_CALL getIgnoreBlank() override;
virtual void SAL_CALL setIgnoreBlank( sal_Bool _ignoreblank ) override;