vcl/source/window/layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ef7a440997f2e3b74837fd4e4d75df33b16e6ce6 Author: Caolán McNamara <caol...@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 <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits