[Libreoffice-commits] core.git: sw/source
Regina Henschel (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 2 18:39:00 UTC 2021
sw/source/filter/ww8/docxsdrexport.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4d2e499994104d0d08f0efab9a51f4561ab42316
Author: Regina Henschel <rb.henschel at t-online.de>
AuthorDate: Fri Jul 2 16:35:25 2021 +0200
Commit: Regina Henschel <rb.henschel at t-online.de>
CommitDate: Fri Jul 2 20:38:24 2021 +0200
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 at t-online.de>
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.
More information about the Libreoffice-commits
mailing list