[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - vcl/source

Caolán McNamara caolanm at redhat.com
Tue Jul 2 00:19:26 PDT 2013


 vcl/source/window/layout.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ef7a440997f2e3b74837fd4e4d75df33b16e6ce6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Jun 30 20:35:23 2013 +0100

    using primary font for secondary max text width
    
    Change-Id: If4d5d4be2a5552c52e7e98ff891e2166b7541800
    (cherry picked from commit fea12c47101d3d13d1e6a611f88c54f257b49b11)
    Reviewed-on: https://gerrit.libreoffice.org/4640
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 33977c2..bc92d8c 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -1793,7 +1793,7 @@ short MessageDialog::Execute()
         m_pSecondaryMessage->set_hexpand(true);
         m_pSecondaryMessage->SetText(m_sSecondaryString);
         m_pSecondaryMessage->Show(!m_sSecondaryString.isEmpty());
-        m_pSecondaryMessage->SetMaxTextWidth(m_pPrimaryMessage->approximate_char_width() * 80);
+        m_pSecondaryMessage->SetMaxTextWidth(m_pSecondaryMessage->approximate_char_width() * 80);
 
         m_pGrid->Show();
 


More information about the Libreoffice-commits mailing list