summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaautotextentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbaautotextentry.cxx')
-rw-r--r--sw/source/ui/vba/vbaautotextentry.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaautotextentry.cxx b/sw/source/ui/vba/vbaautotextentry.cxx
index 018c7dbf8930..dd1f17f16ff4 100644
--- a/sw/source/ui/vba/vbaautotextentry.cxx
+++ b/sw/source/ui/vba/vbaautotextentry.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "vbaautotextentry.hxx"
+#include <utility>
#include <vbahelper/vbahelper.hxx>
#include <com/sun/star/text/XParagraphCursor.hpp>
#include "wordvbahelper.hxx"
@@ -25,8 +26,8 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-SwVbaAutoTextEntry::SwVbaAutoTextEntry( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XAutoTextEntry >& xEntry ) :
- SwVbaAutoTextEntry_BASE( rParent, rContext ), mxEntry( xEntry )
+SwVbaAutoTextEntry::SwVbaAutoTextEntry( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, uno::Reference< text::XAutoTextEntry > xEntry ) :
+ SwVbaAutoTextEntry_BASE( rParent, rContext ), mxEntry(std::move( xEntry ))
{
}