svx/source/sidebar/inspector/InspectorTextPanel.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit f65ca3470ea2ede39314668348607dd061d003fe
Author:     Liu Hao <ianahao...@gmail.com>
AuthorDate: Wed Aug 24 17:28:24 2022 +0800
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Sun Sep 25 16:33:17 2022 +0200

    tdf#150409 CJK&CTL properties shouldn't be hidden in Style Inspector
    
    Change-Id: I577e4c90eb000e3f55f5be9e14132a4c1d16fe9a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138755
    Tested-by: خالد حسني <kha...@aliftype.com>
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com>

diff --git a/svx/source/sidebar/inspector/InspectorTextPanel.cxx 
b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
index 0b5da3d2d14e..3ddba2db9e58 100644
--- a/svx/source/sidebar/inspector/InspectorTextPanel.cxx
+++ b/svx/source/sidebar/inspector/InspectorTextPanel.cxx
@@ -58,13 +58,6 @@ InspectorTextPanel::InspectorTextPanel(weld::Widget* pParent)
 static bool GetPropertyValues(std::u16string_view rPropName, const uno::Any& 
rAny,
                               OUString& rString)
 {
-    // Hide Asian and Complex properties
-    if (!SvtCJKOptions::IsCJKFontEnabled() && rPropName.find(u"Asian") != 
std::u16string_view::npos)
-        return false;
-    if (!SvtCTLOptions().IsCTLFontEnabled()
-        && rPropName.find(u"Complex") != std::u16string_view::npos)
-        return false;
-
     if (bool bValue; rAny >>= bValue)
     {
         rString = SvxResId(bValue ? RID_TRUE : RID_FALSE); // tdf#139136

Reply via email to