chart2/source/controller/dialogs/TextDirectionListBox.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 0d2ac21c51f835497b1867a0ebfdf147515493f9
Author:     Caolán McNamara <[email protected]>
AuthorDate: Tue Dec 4 17:05:09 2018 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Tue Dec 4 22:08:38 2018 +0100

    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/64551
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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

Reply via email to