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

Caolán McNamara caolanm at redhat.com
Mon Feb 9 06:29:01 PST 2015


 cui/source/options/optgdlg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3d106972014ba9e00126a077ed62b351518c2afa
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Feb 9 14:28:24 2015 +0000

    fix build
    
    Change-Id: I797e2a4feb240c463bd34c9699c945d6df72bb55

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index d1ac603..5d28c51 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -665,8 +665,8 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
     get(m_pForceOpenGL, "forceopengl");
     //fdo#87876 , we need height-for-width support here, but for now we can
     //bodge it
-    Size aPrefSize(m_pForceOpenGL->get_preferred_size());
-    Size aSize(m_pForceOpenGL->CalcMinimumSize(40*approximate_char_width()));
+    aPrefSize = m_pForceOpenGL->get_preferred_size();
+    aSize = m_pForceOpenGL->CalcMinimumSize(40*approximate_char_width());
     if (aPrefSize.Width() > aSize.Width())
     {
         m_pForceOpenGL->set_width_request(aSize.Width());


More information about the Libreoffice-commits mailing list