diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-09 14:28:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-09 14:28:24 +0000 |
commit | 3d106972014ba9e00126a077ed62b351518c2afa (patch) | |
tree | 39728b8d4c06f55a2b1214e728bb7fc26610c48f /cui | |
parent | 6d82d8b51776b349ff58fc15d269840755859d02 (diff) |
fix build
Change-Id: I797e2a4feb240c463bd34c9699c945d6df72bb55
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index d1ac60341bcb..5d28c51bce73 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()); |