summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-04 17:05:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-05 09:50:36 +0100
commit41088375bac5941dbb0da0489878213d5a928ed3 (patch)
treedac965969eadf18f5e09df4b5835d6a545fe98f9 /chart2
parenta80fd148d8a9827c7aa424d8c5d7c04b48805af1 (diff)
Related: tdf#121904 widget hidden but label and frame remain
if we want to hide the text direction widget, we should hide the rest of the elements too. For now show them all. Change-Id: Icb2ef69c50eb2335170dda9bfcfcb947ce4d6d19 Reviewed-on: https://gerrit.libreoffice.org/64553 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/dialogs/TextDirectionListBox.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/chart2/source/controller/dialogs/TextDirectionListBox.cxx b/chart2/source/controller/dialogs/TextDirectionListBox.cxx
index f0440155e9e6..cb4afc8597f7 100644
--- a/chart2/source/controller/dialogs/TextDirectionListBox.cxx
+++ b/chart2/source/controller/dialogs/TextDirectionListBox.cxx
@@ -33,11 +33,6 @@ TextDirectionListBox::TextDirectionListBox(std::unique_ptr<weld::ComboBox> pCont
append(SvxFrameDirection::Horizontal_LR_TB, SchResId(STR_TEXT_DIRECTION_LTR));
append(SvxFrameDirection::Horizontal_RL_TB, SchResId(STR_TEXT_DIRECTION_RTL));
append(SvxFrameDirection::Environment, SchResId(STR_TEXT_DIRECTION_SUPER));
-
- if (!SvtLanguageOptions().IsCTLFontEnabled())
- {
- hide();
- }
}
} //namespace chart