summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTomoyuki Kubota <himajin100000@gmail.com>2020-11-01 16:24:59 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2020-11-03 16:02:33 +0100
commit73e0b664881d95510be9605b98a2671926f4697a (patch)
tree0657b78100e96c4c41ae4e7c6f09044f00c0e145 /svx
parent26562f2e3f0d526a323ebe7c16ee3a00532a2cd1 (diff)
tdf#137886 condition for asian and ctl property seems wrong
Change-Id: Ifc11f3bbcc499143904ac7c206674cc692cf5239 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105054 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/inspector/InspectorTextPanel.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index 9ebcf24f9e14..13714e22bfde 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -62,9 +62,9 @@ InspectorTextPanel::InspectorTextPanel(vcl::Window* pParent,
static bool GetPropertyValues(const OUString& rPropName, const uno::Any& rAny, OUString& rString)
{
// Hide Asian and Complex properties
- if (SvtLanguageOptions().IsCJKFontEnabled() && rPropName.indexOf("Asian") != -1)
+ if (!SvtLanguageOptions().IsCJKFontEnabled() && rPropName.indexOf("Asian") != -1)
return false;
- if (SvtLanguageOptions().IsCTLFontEnabled() && rPropName.indexOf("Complex") != -1)
+ if (!SvtLanguageOptions().IsCTLFontEnabled() && rPropName.indexOf("Complex") != -1)
return false;
if (bool bValue; rAny >>= bValue)