summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Hao <ianahao331@gmail.com>2022-08-24 17:28:24 +0800
committerMike Kaganski <mike.kaganski@collabora.com>2022-09-25 16:33:17 +0200
commitf65ca3470ea2ede39314668348607dd061d003fe (patch)
treef63d313b20a72788489dada5dadd87ff1026b0e9
parent567b4281b96f56ce48d3feb57522255b06816f9b (diff)
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: خالد حسني <khaled@aliftype.com> Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--svx/source/sidebar/inspector/InspectorTextPanel.cxx7
1 files changed, 0 insertions, 7 deletions
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