Hi, I have submitted a patch for review:
https://gerrit.libreoffice.org/3134 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/34/3134/1 fdo#62470 fix the table format dialog reading this will fix the wrong reading in table format borders dialog. Change-Id: I624cf7c162d3983fe4625e8e2e6fef4fc556eed0 --- M sw/source/core/docnode/ndtbl1.cxx 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx index e38d9aa6..62725c8 100644 --- a/sw/source/core/docnode/ndtbl1.cxx +++ b/sw/source/core/docnode/ndtbl1.cxx @@ -934,7 +934,8 @@ bRightSet = sal_False, bHoriSet = sal_False, bVertSet = sal_False, - bDistanceSet = sal_False; + bDistanceSet = sal_False, + bRTLTab = sal_False; aSetBoxInfo.ResetFlags(); @@ -1115,6 +1116,22 @@ } } } + + // fdo#62470 fix the reading for table format. + if ( bRTLTab ) + { + SvxBoxItem aTempBox ((const SvxBoxItem &) rSet.Get(RES_BOX )); + SvxBoxInfoItem aTempBoxInfo((const SvxBoxInfoItem&) rSet.Get(SID_ATTR_BORDER_INNER)); + + aTempBox.SetLine( aSetBox.GetRight(), BOX_LINE_RIGHT); + aSetBox.SetLine( aSetBox.GetLeft(), BOX_LINE_RIGHT); + aSetBox.SetLine( aTempBox.GetRight(), BOX_LINE_LEFT); + + aTempBoxInfo.SetValid( VALID_LEFT, aSetBoxInfo.IsValid(VALID_LEFT) ); + aSetBoxInfo.SetValid( VALID_LEFT, aSetBoxInfo.IsValid(VALID_RIGHT) ); + aSetBoxInfo.SetValid( VALID_RIGHT, aTempBoxInfo.IsValid(VALID_LEFT) ); + } + rSet.Put( aSetBox ); rSet.Put( aSetBoxInfo ); } -- To view, visit https://gerrit.libreoffice.org/3134 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I624cf7c162d3983fe4625e8e2e6fef4fc556eed0 Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: master Gerrit-Owner: Faisal al-otaibi <fmalota...@kacst.edu.sa> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice