svl/source/config/cjkoptions.cxx |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

New commits:
commit ec4de8ff110d6064303f4a1027e4d55c29c4db54
Author: Julien Nabet <[email protected]>
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 <[email protected]>
    Tested-by: Julien Nabet <[email protected]>
    Reviewed-by: Julien Nabet <[email protected]>

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;
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to