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

New commits:
commit cd28e8b36c95a8de71b9a8a0ac6702b8018eedac
Author:     Thorsten Wagner <thorsten.wagne...@gmail.com>
AuthorDate: Mon Aug 26 15:18:51 2019 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Sun Sep 8 13:56:09 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.tie...@documentfoundation.org>
    Tested-by: Heiko Tietze <heiko.tie...@documentfoundation.org>
    (cherry picked from commit e757a88f5141a2816d6c69bff5234c9f8802c79a)
    Reviewed-on: https://gerrit.libreoffice.org/78764
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>
    Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to