diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-04-17 15:34:08 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-04-17 19:05:14 +0200 |
commit | 34a151cbb926f78640360760ec6ccc2265538255 (patch) | |
tree | a7a65f6f83a866b1033eeb3b10ed23916bbc7806 /sw | |
parent | 0e335af4d3f044511551fa2ede20911beaee9b41 (diff) |
Better fix for 6340daac7b99c65249363a4bb61c492de31ef5d6
..."Revert broken loplugin:sequentialassign change"
Change-Id: Icb6f27be6bab35db02fc67ce5478e47bb8faa68b
Reviewed-on: https://gerrit.libreoffice.org/70883
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 528634646659..886ea9dbc904 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -3225,8 +3225,8 @@ void AttributeOutputBase::TextFlyContent( const SwFormatFlyCnt& rFlyContent ) { if ( auto pTextNd = dynamic_cast< const SwContentNode *>( GetExport().m_pOutFormatNode ) ) { - Point aLayPos; - aLayPos = pTextNd->FindLayoutRect( false, &aLayPos ).Pos(); + Point const origin; + Point aLayPos = pTextNd->FindLayoutRect( false, &origin ).Pos(); SwPosition aPos( *pTextNd ); ww8::Frame aFrame( *rFlyContent.GetFrameFormat(), aPos ); |