sw/source/core/text/guess.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 3596613153289dae204b5abdc7446b303021f597
Author: Mark Hung <[email protected]>
Date: Sat Feb 6 00:03:46 2016 +0800
tdf#96392 disallow hanging punctuation if the frame is inside a table.
Change-Id: Ib9d8386b47f8fa7b8afabb94f94085c7fb2fc0bb
Reviewed-on: https://gerrit.libreoffice.org/22158
Tested-by: Jenkins <[email protected]>
Reviewed-by: Mark Hung <[email protected]>
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index f401fcb..577506e 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -347,6 +347,7 @@ bool SwTextGuess::Guess( const SwTextPortion& rPor,
SwTextFormatInfo &rInf,
*rInf.GetTextFrame()->GetNode()->getIDocumentSettingAccess()->getForbiddenCharacters(
aLang, true ) );
const bool bAllowHanging = rInf.IsHanging() && ! rInf.IsMulti() &&
+ ! rInf.GetTextFrame()->IsInTab() &&
! rPor.InFieldGrp();
LineBreakUserOptions aUserOpt(
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits