[Libreoffice-commits] core.git: sw/source
Mark Hung
marklh9 at gmail.com
Sat Feb 13 08:05:05 UTC 2016
sw/source/core/text/guess.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 3596613153289dae204b5abdc7446b303021f597
Author: Mark Hung <marklh9 at gmail.com>
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 <ci at libreoffice.org>
Reviewed-by: Mark Hung <marklh9 at gmail.com>
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(
More information about the Libreoffice-commits
mailing list