[Libreoffice-commits] core.git: Branch 'libreoffice-6-2' - chart2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 5 08:51:02 UTC 2018


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

New commits:
commit 41088375bac5941dbb0da0489878213d5a928ed3
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 4 17:05:09 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Dec 5 09:50:36 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/64553
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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


More information about the Libreoffice-commits mailing list