[Libreoffice-commits] core.git: svl/source
Julien Nabet
serval2412 at yahoo.fr
Thu Jan 25 10:35:39 UTC 2018
svl/source/config/cjkoptions.cxx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit ec4de8ff110d6064303f4a1027e4d55c29c4db54
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Thu Jan 25 09:00:02 2018 +0100
Simplify logic in cjkoptions
Following https://cgit.freedesktop.org/libreoffice/core/commit/?id=6a579702b1128372aa30c86156996e57ba73b2c8
Change-Id: I5e2528bc69065260dfce7ac8c29ba4aa76905bbe
Reviewed-on: https://gerrit.libreoffice.org/48554
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Julien Nabet <serval2412 at yahoo.fr>
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/svl/source/config/cjkoptions.cxx b/svl/source/config/cjkoptions.cxx
index 58c9e0090626..a0af655e8950 100644
--- a/svl/source/config/cjkoptions.cxx
+++ b/svl/source/config/cjkoptions.cxx
@@ -116,15 +116,15 @@ SvtCJKOptions_Impl::SvtCJKOptions_Impl() :
void SvtCJKOptions_Impl::SetAll(bool bSet)
{
if (
- !(!bROCJKFont &&
- !bROVerticalText &&
- !bROAsianTypography &&
- !bROJapaneseFind &&
- !bRORuby &&
- !bROChangeCaseMap &&
- !bRODoubleLines &&
- !bROEmphasisMarks &&
- !bROVerticalCallOut)
+ bROCJKFont ||
+ bROVerticalText ||
+ bROAsianTypography ||
+ bROJapaneseFind ||
+ bRORuby ||
+ bROChangeCaseMap ||
+ bRODoubleLines ||
+ bROEmphasisMarks ||
+ bROVerticalCallOut
)
return;
More information about the Libreoffice-commits
mailing list