summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-18 11:35:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-18 13:44:43 +0200
commit010e2a574c7fadfb60d6794a1bfb38acc8082e0a (patch)
tree22bed9f29aa3291845be4ae9f8cafd7509496a65 /sw/source/filter/ww8
parente59db22b3b57c9e1a5678218cb56fb75bcc84c26 (diff)
loplugin:moveit
Change-Id: I34de7408553e4ca702cab9aa611c03dc60b9b6a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138472 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 58d0a5bd4995..ae0a53e8056a 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -3361,7 +3361,7 @@ void AttributeOutputBase::TextFlyContent( const SwFormatFlyCnt& rFlyContent )
Point aLayPos = pTextNd->FindLayoutRect( false, &origin ).Pos();
SwPosition aPos( *pTextNd );
- ww8::Frame aFrame( *rFlyContent.GetFrameFormat(), aPos );
+ ww8::Frame aFrame( *rFlyContent.GetFrameFormat(), std::move(aPos) );
OutputFlyFrame_Impl( aFrame, aLayPos );
}