summaryrefslogtreecommitdiff
path: root/oox/source/vml/vmltextboxcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/vml/vmltextboxcontext.cxx')
-rw-r--r--oox/source/vml/vmltextboxcontext.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/oox/source/vml/vmltextboxcontext.cxx b/oox/source/vml/vmltextboxcontext.cxx
index c6b3414be890..b7b41cfc06f0 100644
--- a/oox/source/vml/vmltextboxcontext.cxx
+++ b/oox/source/vml/vmltextboxcontext.cxx
@@ -26,6 +26,7 @@
#include <osl/diagnose.h>
#include <sal/log.hxx>
#include <o3tl/string_view.hxx>
+#include <utility>
namespace oox::vml {
@@ -34,12 +35,12 @@ using ::oox::core::ContextHandler2Helper;
using ::oox::core::ContextHandlerRef;
TextPortionContext::TextPortionContext( ContextHandler2Helper const & rParent,
- TextBox& rTextBox, TextParagraphModel const & rParagraph, const TextFontModel& rParentFont,
+ TextBox& rTextBox, TextParagraphModel aParagraph, TextFontModel aParentFont,
sal_Int32 nElement, const AttributeList& rAttribs ) :
ContextHandler2( rParent ),
mrTextBox( rTextBox ),
- maParagraph( rParagraph ),
- maFont( rParentFont ),
+ maParagraph(std::move( aParagraph )),
+ maFont(std::move( aParentFont )),
mnInitialPortions( rTextBox.getPortionCount() )
{
switch( nElement )