[Libreoffice-commits] core.git: cui/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Feb 20 11:58:18 UTC 2019


 cui/source/dialogs/hangulhanjadlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf3229db5341a3f4bcef707f08489a3d18e22132
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 20 09:56:18 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Feb 20 12:57:54 2019 +0100

    minimumSize is overwritten so CalcMinimumSize is unused
    
    Change-Id: I4161ed90d9e8c7d540fab1df0535ec9213d1ddc4
    Reviewed-on: https://gerrit.libreoffice.org/68067
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 01cc5ad80ecf..b544e339d911 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -320,7 +320,7 @@ namespace svx
             aSecondarySize = GetTextRect( rect, m_aRubyText.getSecondaryText() ).GetSize();
         }
 
-        Size minimumSize =  CalcMinimumSize();
+        Size minimumSize;
         minimumSize.setHeight( aPrimarySize.Height() + aSecondarySize.Height() + 5 );
         minimumSize.setWidth( aPrimarySize.Width() + aSecondarySize.Width() + 5 );
         return minimumSize;


More information about the Libreoffice-commits mailing list