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

Thorsten Wagner (via logerrit) logerrit at kemper.freedesktop.org
Sun Sep 8 07:51:18 UTC 2019


 sc/source/ui/app/inputwin.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit b613ca105b080bb275d6f687b6b443b10b27c284
Author:     Thorsten Wagner <thorsten.wagner.4 at gmail.com>
AuthorDate: Mon Aug 26 15:18:51 2019 +0200
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Sun Sep 8 09:50:41 2019 +0200

    tdf#127066 Font size of Calc input bar aligned to UI font size
    
    Change-Id: I1f1aa4195c4b4be8987b0686d3f157ecea3fecce
    Reviewed-on: https://gerrit.libreoffice.org/78140
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
    Tested-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
    (cherry picked from commit e757a88f5141a2816d6c69bff5234c9f8802c79a)
    Reviewed-on: https://gerrit.libreoffice.org/78748

diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index e206a3506669..216a5bd6477e 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -74,7 +74,6 @@ namespace com::sun::star::accessibility { class XAccessible; }
 
 const long THESIZE = 1000000;            // Should be more than enough!
 const long INPUTLINE_INSET_MARGIN = 2;   // Space between border and interior widgets of input line
-const long MIN_FONT_SIZE = 16;           // Minimum font size of input line in pixels
 const long LEFT_OFFSET = 5;              // Left offset of input line
 const long BUTTON_OFFSET = 2;            // Space between input line and button to expand/collapse
 const long MULTILINE_BUTTON_WIDTH = 20;  // Width of the button which opens multiline dropdown
@@ -1434,8 +1433,6 @@ ScTextWnd::ScTextWnd(ScTextWndGroup* pParent, ScTabViewShell* pViewSh)
     vcl::Font aAppFont = GetFont();
     aTextFont = aAppFont;
     Size aFontSize = aAppFont.GetFontSize();
-    if (aFontSize.Height() < MIN_FONT_SIZE)
-        aFontSize.setHeight(MIN_FONT_SIZE);
     aTextFont.SetFontSize(PixelToLogic(aFontSize, MapMode(MapUnit::MapTwip)));
 
     const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();


More information about the Libreoffice-commits mailing list