diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2021-07-02 16:35:25 +0200 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2021-07-02 20:38:24 +0200 |
commit | 4d2e499994104d0d08f0efab9a51f4561ab42316 (patch) | |
tree | 2b985e877274e0f6f1818e3ad0984de78f14d6eb /sw | |
parent | c3c31f4c6e3c658c05f5f6973ef54a03f2d12efe (diff) |
Change order of parameter to LTRB for better readability
This addresses a comment of Jan-Marek Glogowski on commit
3262fc5ef3bde5b158909d11ccb008161ea95519.
Change-Id: I0a94ad08d035fd23c0adb5bc53fccdcbc0173e1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118324
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 2b2fd89a635e..561bc475687b 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -177,7 +177,7 @@ void lcl_calculateMSOBaseRectangle(const SdrObject& rObj, double& rfMSOLeft, dou } } -void lcl_calculateRawEffectExtent(sal_Int32& rLeft, sal_Int32& rRight, sal_Int32& rTop, +void lcl_calculateRawEffectExtent(sal_Int32& rLeft, sal_Int32& rTop, sal_Int32& rRight, sal_Int32& rBottom, const SdrObject& rObj, const bool bUseBoundRect) { @@ -613,7 +613,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons // may not be negative. Take care of that. if (isAnchor) { - lcl_calculateRawEffectExtent(nLeftExt, nRightExt, nTopExt, nBottomExt, *pObj, true); + lcl_calculateRawEffectExtent(nLeftExt, nTopExt, nRightExt, nBottomExt, *pObj, true); // We have calculated the effectExtent from boundRect, therefore half stroke width is // already contained. // ToDo: The other half of the strokeWidth needs to be subtracted from padding. @@ -625,7 +625,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons } else { - lcl_calculateRawEffectExtent(nLeftExt, nRightExt, nTopExt, nBottomExt, *pObj, false); + lcl_calculateRawEffectExtent(nLeftExt, nTopExt, nRightExt, nBottomExt, *pObj, false); // nDistT,... contain the needed distances from import or set by user. But Word // ignores Dist attributes of inline shapes. So we move all needed distances to // effectExtent and force effectExtent to non-negative. |