diff options
Diffstat (limited to 'editeng/source/items/CustomPropertyField.cxx')
-rw-r--r-- | editeng/source/items/CustomPropertyField.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/editeng/source/items/CustomPropertyField.cxx b/editeng/source/items/CustomPropertyField.cxx index be6b4a626722..eaad4c4c4db8 100644 --- a/editeng/source/items/CustomPropertyField.cxx +++ b/editeng/source/items/CustomPropertyField.cxx @@ -9,6 +9,7 @@ */ #include <editeng/CustomPropertyField.hxx> +#include <utility> #include <vcl/metaact.hxx> #include <com/sun/star/beans/XPropertyContainer.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -19,9 +20,9 @@ using namespace css; namespace editeng { -CustomPropertyField::CustomPropertyField(OUString const & rName, OUString const & rCurrentPresentation) - : msName(rName) - , msCurrentPresentation(rCurrentPresentation) +CustomPropertyField::CustomPropertyField(OUString aName, OUString aCurrentPresentation) + : msName(std::move(aName)) + , msCurrentPresentation(std::move(aCurrentPresentation)) {} CustomPropertyField::~CustomPropertyField() @@ -44,7 +45,7 @@ bool CustomPropertyField::operator==(const SvxFieldData& rOther) const MetaAction* CustomPropertyField::createBeginComment() const { - return new MetaCommentAction("FIELD_SEQ_BEGIN"); + return new MetaCommentAction("FIELD_SEQ_BEGIN"_ostr); } OUString CustomPropertyField::GetFormatted(uno::Reference<document::XDocumentProperties> const & xDocumentProperties) |